Skip to content

refactor: add modules/templates and modules/workspaces #11947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 31, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update a mock
  • Loading branch information
aslilac committed Jan 31, 2024
commit d7df2c508a4512dc1d3c210087430587cbdd5931
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ import { AppProviders } from "App";

// For some reason this component in Jest is throwing a MUI style warning so,
// since we don't need it for this test, we can mock it out
jest.mock("components/TemplateResourcesTable/TemplateResourcesTable", () => {
return {
TemplateResourcesTable: () => <div />,
};
});
jest.mock(
"modules/templates/TemplateResourcesTable/TemplateResourcesTable",
() => {
return {
TemplateResourcesTable: () => <div />,
};
},
);

const renderTemplateEditorPage = () => {
renderWithAuth(<TemplateVersionEditorPage />, {
Expand Down