-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(require): Use vitest in integration tests
- Loading branch information
Showing
7 changed files
with
27 additions
and
19 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
30 changes: 15 additions & 15 deletions
30
packages/require/integration/import/__tests__/__snapshots__/index.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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`Node.js CJS should import CJS file 1`] = `"{"default":{"ext":"mjs"},"ext":"mjs"}"`; | ||
exports[`Node.js CJS > should import CJS file 1`] = `"{"default":{"ext":"mjs"},"ext":"mjs"}"`; | ||
|
||
exports[`Node.js CJS should import JS file in package whose type = commonjs 1`] = `"{"default":{"ext":"js"},"ext":"js"}"`; | ||
exports[`Node.js CJS > should import JS file in package whose type = commonjs 1`] = `"{"default":{"ext":"js"},"ext":"js"}"`; | ||
|
||
exports[`Node.js CJS should import JS file in package whose type = module 1`] = `"{"ext":"js"}"`; | ||
exports[`Node.js CJS > should import JS file in package whose type = module 1`] = `"{"ext":"js"}"`; | ||
|
||
exports[`Node.js CJS should import JSON file 1`] = `"{"default":{"ext":"json"}}"`; | ||
exports[`Node.js CJS > should import JSON file 1`] = `"{"default":{"ext":"json"}}"`; | ||
|
||
exports[`Node.js CJS should import MJS file 1`] = `"{"ext":"mjs"}"`; | ||
exports[`Node.js CJS > should import MJS file 1`] = `"{"ext":"mjs"}"`; | ||
|
||
exports[`Node.js CJS should import MTS file 1`] = `"{"ext":"mts"}"`; | ||
exports[`Node.js CJS > should import MTS file 1`] = `"{"ext":"mts"}"`; | ||
|
||
exports[`Node.js CJS should import TS file in package whose type = module 1`] = `"{"ext":"ts"}"`; | ||
exports[`Node.js CJS > should import TS file in package whose type = module 1`] = `"{"ext":"ts"}"`; | ||
|
||
exports[`Node.js ESM should import CJS file 1`] = `"{"default":{"ext":"mjs"},"ext":"mjs"}"`; | ||
exports[`Node.js ESM > should import CJS file 1`] = `"{"default":{"ext":"mjs"},"ext":"mjs"}"`; | ||
|
||
exports[`Node.js ESM should import JS file in package whose type = commonjs 1`] = `"{"default":{"ext":"js"},"ext":"js"}"`; | ||
exports[`Node.js ESM > should import JS file in package whose type = commonjs 1`] = `"{"default":{"ext":"js"},"ext":"js"}"`; | ||
|
||
exports[`Node.js ESM should import JS file in package whose type = module 1`] = `"{"ext":"js"}"`; | ||
exports[`Node.js ESM > should import JS file in package whose type = module 1`] = `"{"ext":"js"}"`; | ||
|
||
exports[`Node.js ESM should import JSON file 1`] = `"{"default":{"ext":"json"}}"`; | ||
exports[`Node.js ESM > should import JSON file 1`] = `"{"default":{"ext":"json"}}"`; | ||
|
||
exports[`Node.js ESM should import MJS file 1`] = `"{"ext":"mjs"}"`; | ||
exports[`Node.js ESM > should import MJS file 1`] = `"{"ext":"mjs"}"`; | ||
|
||
exports[`Node.js ESM should import MTS file 1`] = `"{"ext":"mts"}"`; | ||
exports[`Node.js ESM > should import MTS file 1`] = `"{"ext":"mts"}"`; | ||
|
||
exports[`Node.js ESM should import TS file in package whose type = module 1`] = `"{"ext":"ts"}"`; | ||
exports[`Node.js ESM > should import TS file in package whose type = module 1`] = `"{"ext":"ts"}"`; |
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 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
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 @@ | ||
export { integration as default } from "@kosko/vitest-config"; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.