-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve(test): Migrate from jest to vitest
- Loading branch information
1 parent
a51be6a
commit 7a832ae
Showing
48 changed files
with
2,565 additions
and
3,307 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
26 changes: 0 additions & 26 deletions
26
packages/charts/src/Area/__tests__/__snapshots__/ref.test.tsx.snap
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
packages/charts/src/DualAxes/__tests__/__snapshots__/ref.test.tsx.snap
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
packages/charts/src/Line/__tests__/__snapshots__/ref.test.tsx.snap
This file was deleted.
Oops, something went wrong.
91 changes: 0 additions & 91 deletions
91
packages/charts/src/Pie/__tests__/__snapshots__/donut.test.tsx.snap
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
import { defineProject, mergeConfig } from 'vitest/config'; | ||
import configShared from '../../vitest.config'; | ||
|
||
export default mergeConfig(configShared, defineProject({})); |
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,4 @@ | ||
import { defineProject, mergeConfig } from 'vitest/config'; | ||
import configShared from '../../vitest.config'; | ||
|
||
export default mergeConfig(configShared, defineProject({})); |
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
4 changes: 2 additions & 2 deletions
4
packages/design/src/config-provider/__tests__/__snapshots__/styleProviderProps.test.tsx.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`ConfigProvider styleProviderProps ConfigProvider styleProviderProps.hashPriority 1`] = `<div />`; | ||
exports[`ConfigProvider styleProviderProps > ConfigProvider styleProviderProps.hashPriority 1`] = `<div />`; |
2 changes: 1 addition & 1 deletion
2
packages/design/src/config-provider/__tests__/navigate.test.tsx
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.