Skip to content

Commit

Permalink
Merge branch 'docs-lib' of github.com:antvis/S2 into docs-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Dec 21, 2023
2 parents 50c9894 + 2248434 commit 54a0e20
Show file tree
Hide file tree
Showing 5 changed files with 134 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,14 @@ describe('Pivot Mode Test When Value In Row', () => {
).toHaveLength(32);
});

test(`getMultiData will return empty array when query can't be found`, () => {
const specialQuery = {
province: '浙江省123',
type: '家具',
};
expect(dataSet.getMultiData(specialQuery)).toHaveLength(0);
});

test('getDimensionValues function', () => {
// without query
expect(dataSet.getDimensionValues('province')).toEqual([
Expand Down
Loading

0 comments on commit 54a0e20

Please sign in to comment.