mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-08-27 04:59:22 +00:00
Suppress only React Router Future warnings in tests
This commit is contained in:
parent
ed2d3798ea
commit
065f3cfe02
@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"dev": "npm i && vite",
|
||||
"build": "npm i && vite build && cp dist/index.html dist/404.html",
|
||||
"test": "npm i && tsc -p tsconfig.app.json --noEmit && eslint && vitest run --silent passed-only && vite build",
|
||||
"test": "npm i && tsc -p tsconfig.app.json --noEmit && eslint && vitest run && vite build",
|
||||
"deploy": "npm run build && npx -y surge@latest dist"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -14,6 +14,9 @@ export default defineConfig(() => ({
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
setupFiles: './src/test/setup.ts',
|
||||
onConsoleLog(log) {
|
||||
return !log.includes("React Router Future Flag Warning");
|
||||
},
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user