8714-devToTest #1547
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue