diff --git a/package-lock.json b/package-lock.json index 481080a..732447c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "updates": "15.0.3", "versions": "12.0.0", "vitest": "0.34.6", - "vitest-config-silverwind": "3.0.0" + "vitest-config-silverwind": "5.0.0" }, "engines": { "node": ">=18" @@ -3555,9 +3555,9 @@ } }, "node_modules/vitest-config-silverwind": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/vitest-config-silverwind/-/vitest-config-silverwind-3.0.0.tgz", - "integrity": "sha512-DA9blrm8skvjruy+s4HTWGrnQghrTD1SRV3eH1jBkHUlrkU3jWjolopl7/uFe66vuy6C/Nne2Ug+AuWHMlnBrQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/vitest-config-silverwind/-/vitest-config-silverwind-5.0.0.tgz", + "integrity": "sha512-WZtNhTZrKxRdBqC+dQsF5Puxhehh4F00Pb9cUtvXJXCVPkEZURBT8bd3hbuGl5jPW1OO42/B4/LZQggzrOVu1g==", "dev": true }, "node_modules/which": { diff --git a/package.json b/package.json index e036aa8..928fc4c 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "updates": "15.0.3", "versions": "12.0.0", "vitest": "0.34.6", - "vitest-config-silverwind": "3.0.0" + "vitest-config-silverwind": "5.0.0" }, "dependencies": { "picomatch": "2.3.1" diff --git a/vitest.config.js b/vitest.config.js index 4d9910c..07f9db9 100644 --- a/vitest.config.js +++ b/vitest.config.js @@ -2,5 +2,7 @@ import {defineConfig} from "vitest/config"; import {backendTest} from "vitest-config-silverwind"; export default defineConfig({ - test: backendTest, + test: { + ...backendTest({url: import.meta.url}), + }, });