Skip to content

Commit

Permalink
test: 修复单测
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky committed Jan 20, 2021
1 parent e34e4ab commit 285f7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/unit/lab-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('lab', () => {
expect(fn).toBeCalledWith(`Plot 'X' is in BETA stage, DO NOT use it in production env.`);

notice(Stage.STABLE, 'Y');
expect(fn).toBeCalledWith(`Plot 'Y' is in STABLE stage, import it by "import { Y } from '@antv/g2'".`);
expect(fn).toBeCalledWith(`Plot 'Y' is in STABLE stage, import it by "import { Y } from '@antv/g2plot'".`);

// @ts-ignore
notice('NO-STAGE', 'Y');
Expand Down

0 comments on commit 285f7e2

Please sign in to comment.