1// eslint-disable-next-line
2const { defineConfig } = require('cypress');
3// eslint-disable-next-line
4const tsconfigPaths = require('vite-tsconfig-paths').default;
5
6module.exports = defineConfig({
7 video: false,
8
9 e2e: {
10 setupNodeEvents(_on, _config) {
11 /*noop*/
12 },
13 supportFile: false,
14 },
15 component: {
16 specPattern: './**/e2e-tests/*spec.tsx',
17 devServer: {
18 framework: 'react',
19 bundler: 'vite',
20 viteConfig: {
21 plugins: [tsconfigPaths()],
22 server: {
23 fs: {
24 allow: ['../..'],
25 },
26 },
27 },
28 },
29 },
30});