Skip to content

Commit

Permalink
chore: modify test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhonghe committed Oct 21, 2020
1 parent 98011e5 commit c7a6abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/unit/plots/word-cloud/index-spec.ts
Expand Up @@ -24,8 +24,8 @@ describe('word-cloud', () => {
// x & y
expect(positionFields).toHaveLength(2);
// 数据经过 DataSet 处理过,这里是处理之后的数据中的 x 和 y 字段
expect(positionFields[0]).toBe('x');
expect(positionFields[1]).toBe('y');
expect(positionFields[0]).toBe('_x');
expect(positionFields[1]).toBe('_y');
});

it('imageMask', () => {
Expand Down

0 comments on commit c7a6abc

Please sign in to comment.