We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ded7e25 commit 81025b3Copy full SHA for 81025b3
frontend/src/views/tests/project.test.js
@@ -24,6 +24,13 @@ import { setupFaultyHandlers } from '../../network/tests/server';
24
import { projects } from '../../network/tests/mockData/projects';
25
import { MemoryRouter, Route, Routes } from 'react-router-dom';
26
27
+// The editor is pretty heavy; avoid loading it whenever possible (AKA: Avoid timeouts).
28
+jest.mock('../../components/comments/commentInput', () => {
29
+ return {
30
+ CommentInputField: () => <></>
31
+ }
32
+});
33
+
34
test('CreateProject renders ProjectCreate', async () => {
35
renderWithRouter(
36
<QueryParamProvider adapter={ReactRouter6Adapter}>
0 commit comments