From 2999e4646cb6f1a0b449ea4e40691ffec6674ce5 Mon Sep 17 00:00:00 2001 From: Candid Dauth Date: Sat, 9 Mar 2024 05:25:26 +0100 Subject: [PATCH] Apply workaround for failing test --- utils/vite.config.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/utils/vite.config.ts b/utils/vite.config.ts index 1e73c03d..3ae856c5 100644 --- a/utils/vite.config.ts +++ b/utils/vite.config.ts @@ -1,3 +1,4 @@ +/// 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 + } + } } });