Skip to content

Commit

Permalink
test: replace the scrollable mock
Browse files Browse the repository at this point in the history
  • Loading branch information
mortalYoung committed Sep 2, 2021
1 parent 5231702 commit f1d16dd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/workbench/sidebar/__tests__/editorTree.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,6 @@ const mockGroups = [
},
];

// mock Scrollable component
jest.mock('mo/components/scrollable', () => {
const originalModule = jest.requireActual('mo/components/scrollable');
return {
...originalModule,
Scrollable: ({ children }) => {
return <>{children}</>;
},
};
});

// mock Toolbar component
jest.mock('mo/components/toolbar', () => {
const originalModule = jest.requireActual('mo/components/toolbar');
Expand Down

0 comments on commit f1d16dd

Please sign in to comment.