Skip to content

Commit

Permalink
rewrite unit tests to test the entire functionality
Browse files Browse the repository at this point in the history
Signed-off-by: abbyhu2000 <[email protected]>
  • Loading branch information
abbyhu2000 committed Mar 8, 2023
1 parent f4199e4 commit 1d32f58
Show file tree
Hide file tree
Showing 2 changed files with 255 additions and 113 deletions.
11 changes: 1 addition & 10 deletions src/plugins/vis_builder/public/application/utils/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,8 @@ export const createVisBuilderServicesMock = () => {
},
},
},
{
name: 'viz',
ui: {
containerConfig: {
style: {
defaults: 'style default states',
},
},
},
},
],
get: jest.fn(),
},
};

Expand Down
Loading

0 comments on commit 1d32f58

Please sign in to comment.