-
Notifications
You must be signed in to change notification settings - Fork 6
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
10 changed files
with
1,423 additions
and
1,344 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"next-yak": patch | ||
"yak-swc": patch | ||
--- | ||
|
||
Updated all dependencies |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
/// <reference types="vitest" /> | ||
import { defineConfig } from "vite"; | ||
import react from "@vitejs/plugin-react" | ||
import react from "@vitejs/plugin-react"; | ||
import { defineConfig, mergeConfig } from "vitest/config"; | ||
|
||
// https://vitejs.dev/config/ | ||
export default defineConfig({ | ||
plugins: | ||
[ | ||
react() | ||
], | ||
test: { | ||
globals: true, | ||
environment: "jsdom", | ||
export default mergeConfig( | ||
{ | ||
plugins: [react()], | ||
}, | ||
defineConfig({ | ||
test: { | ||
globals: true, | ||
environment: "jsdom", | ||
|
||
// This is only necessary because we use Vitest and Jest (to see verify that both work) | ||
// and they should use different snapshot names | ||
resolveSnapshotPath: (testPath, snapshotExtension) => | ||
testPath.replace('__tests__', '__tests__/__vite_snapshots__') + snapshotExtension, | ||
} | ||
}); | ||
// This is only necessary because we use Vitest and Jest (to see verify that both work) | ||
// and they should use different snapshot names | ||
resolveSnapshotPath: (testPath, snapshotExtension) => | ||
testPath.replace("__tests__", "__tests__/__vite_snapshots__") + | ||
snapshotExtension, | ||
}, | ||
}), | ||
); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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.