Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Yuanqi(Ella) Zhu <[email protected]>
  • Loading branch information
zhyuanqi committed Apr 15, 2024
1 parent 018c6d5 commit b33d06f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe('DataSourceView', () => {
expect(toasts.addWarning).toBeCalledTimes(0);
expect(utils.getDataSourceById).toBeCalledTimes(1);
});
it('should call getDataSourceById when only pass id no label', async () => {
it('should call getDataSourceById when only pass id with no label', async () => {
spyOn(utils, 'getDataSourceById').and.returnValue([{ id: 'test1', label: 'test1' }]);
component = shallow(
<DataSourceView
Expand Down

0 comments on commit b33d06f

Please sign in to comment.