fix: refs #6695 checkErrors(folderName)
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-11 08:40:22 +01:00
parent cc7251a336
commit 7cd6716308
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import { defineConfig } from 'cypress';
// import vitePreprocessor from 'cypress-vite';
import vitePreprocessor from 'cypress-vite';
// https://docs.cypress.io/app/tooling/reporters
// https://docs.cypress.io/app/references/configuration
// https://www.npmjs.com/package/cypress-mochawesome-reporter
@ -38,7 +38,7 @@ export default defineConfig({
supportFile: 'test/cypress/support/unit.js',
},
setupNodeEvents: async (on, config) => {
// on('file:preprocessor', vitePreprocessor());
on('file:preprocessor', vitePreprocessor());
const plugin = await import('cypress-mochawesome-reporter/plugin');
plugin.default(on);
return config;
@ -48,5 +48,5 @@ export default defineConfig({
},
experimentalMemoryManagement: true,
defaultCommandTimeout: 10000,
numTestsKeptInMemory: 1,
numTestsKeptInMemory: 0,
});