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 a6ac945 commit d7df2c5Copy full SHA for d7df2c5
site/src/pages/TemplateVersionEditorPage/TemplateVersionEditorPage.test.tsx
@@ -24,11 +24,14 @@ import { AppProviders } from "App";
24
25
// For some reason this component in Jest is throwing a MUI style warning so,
26
// since we don't need it for this test, we can mock it out
27
-jest.mock("components/TemplateResourcesTable/TemplateResourcesTable", () => {
28
- return {
29
- TemplateResourcesTable: () => <div />,
30
- };
31
-});
+jest.mock(
+ "modules/templates/TemplateResourcesTable/TemplateResourcesTable",
+ () => {
+ return {
+ TemplateResourcesTable: () => <div />,
32
+ };
33
+ },
34
+);
35
36
const renderTemplateEditorPage = () => {
37
renderWithAuth(<TemplateVersionEditorPage />, {
0 commit comments