Skip to content

Commit 6629633

Browse files
committed
Fix: Fix Cypress component tests
Signed-off-by: Kostiantyn Miakshyn <[email protected]>
1 parent 698fc0b commit 6629633

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cypress.config.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ export default defineConfig({
4545
devServer: {
4646
framework: 'vue',
4747
bundler: 'vite',
48+
viteConfig: {
49+
optimizeDeps: {
50+
exclude: [
51+
'vite-plugin-node-polyfills',
52+
'vite-plugin-node-polyfills/shims/buffer',
53+
'vite-plugin-node-polyfills/shims/global',
54+
'vite-plugin-node-polyfills/shims/process',
55+
],
56+
},
57+
},
4858
},
4959
setupNodeEvents(on, config) {
5060
on('file:preprocessor', vitePreprocessor({

0 commit comments

Comments
 (0)