Skip to content

Commit

Permalink
test: liquid number antvis#6145
Browse files Browse the repository at this point in the history
  • Loading branch information
the-lemonboy committed Jul 23, 2024
1 parent 33c9f13 commit 5fc01a6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions __tests__/plots/static/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ export { liquidDiamond } from './liquid-diamond';
export { liquidContent } from './liquid-content';
export { liquidTriangle } from './liquid-triangle';
export { liquidCustomShape } from './liquid-custom-shape';
export { liquidNumber } from './liquid-number';
export { alphabetIntervalAxisOptions } from './alphabet-interval-axis-options';
export { profitIntervalAxisTransform } from './profit-interval-axis-transform';
export { intervalPointBullet } from './interval-point-bullet';
Expand Down
11 changes: 11 additions & 0 deletions __tests__/plots/static/liquid-number.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { G2Spec } from '../../../src';

export function liquidNumber(): G2Spec {
return {
type: 'view',
data: 0.3,
children: [{ type: 'liquid' }],
};
}

liquidNumber.skip = true;

0 comments on commit 5fc01a6

Please sign in to comment.