Apply workaround for failing test

pull/256/head
Candid Dauth 2024-03-09 05:25:26 +01:00
rodzic d7f3524d91
commit 2999e4646c
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -1,3 +1,4 @@
/// <reference types="vitest" />
import { defineConfig } from "vite";
import dtsPlugin from "vite-plugin-dts";
@ -18,5 +19,12 @@ export default defineConfig({
rollupOptions: {
external: (id) => id.includes("/node_modules/") || (!id.startsWith("./") && !id.startsWith("../") && /* resolved internal modules */ !id.startsWith("/"))
}
},
test: {
server: {
deps: {
external: [/\/node_modules\//] // Temporary fix for https://discord.com/channels/917386801235247114/1215127757550260225
}
}
}
});