From d8c3a49c1959308d3c3872fb51ed450d54c613b7 Mon Sep 17 00:00:00 2001 From: regexowl Date: Mon, 30 Sep 2024 11:26:42 +0200 Subject: [PATCH] vitest.config: Inline `@monaco-editor` `@monaco-editor` needs to be inlined in order to run the tests smoothly without any errors. Note: dependencies include both `@monaco-editor` and `monaco-editor`, only the `@` one needs to be inlined in test dependencies. --- vitest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitest.config.ts b/vitest.config.ts index d720eabe..da35d42f 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -11,7 +11,7 @@ const config = { }, server: { deps: { - inline: ['vitest-canvas-mock', '@patternfly'], + inline: ['vitest-canvas-mock', '@patternfly', '@monaco-editor'], }, }, testTimeout: 10000,