-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
96 changed files
with
2,966 additions
and
766 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -170,5 +170,8 @@ | |
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/antvis/S2.git" | ||
}, | ||
"tnpm": { | ||
"mode": "pnpm" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
packages/s2-core/__tests__/unit/cell/__snapshots__/data-cell-spec.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Data Cell Tests Data Cell Formatter & Method Tests should get empty chart data and default options 1`] = ` | ||
Object { | ||
"autoFit": true, | ||
"height": 83, | ||
"theme": Object { | ||
"type": "light", | ||
}, | ||
"width": 83, | ||
"x": NaN, | ||
"y": NaN, | ||
} | ||
`; | ||
|
||
exports[`Data Cell Tests Data Cell Formatter & Method Tests should get multiple chart data and all options 1`] = ` | ||
Object { | ||
"autoFit": true, | ||
"data": Array [ | ||
Object { | ||
"genre": "Sports", | ||
"sold": 275, | ||
}, | ||
], | ||
"encode": Object { | ||
"color": "genre", | ||
"x": "genre", | ||
"y": "sold", | ||
}, | ||
"type": "interval", | ||
} | ||
`; | ||
|
||
exports[`Data Cell Tests Data Cell Formatter & Method Tests should get multiple chart data and all options 2`] = ` | ||
Object { | ||
"autoFit": true, | ||
"data": Array [ | ||
Object { | ||
"genre": "Sports", | ||
"sold": 275, | ||
}, | ||
], | ||
"encode": Object { | ||
"color": "genre", | ||
"x": "genre", | ||
"y": "sold", | ||
}, | ||
"height": 83, | ||
"theme": Object { | ||
"type": "dark", | ||
}, | ||
"type": "interval", | ||
"width": 83, | ||
"x": 8, | ||
"y": 208, | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.