fix: refs #6695 checkErrors(folderName)
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
cc7251a336
commit
7cd6716308
|
@ -1,5 +1,5 @@
|
||||||
import { defineConfig } from 'cypress';
|
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/tooling/reporters
|
||||||
// https://docs.cypress.io/app/references/configuration
|
// https://docs.cypress.io/app/references/configuration
|
||||||
// https://www.npmjs.com/package/cypress-mochawesome-reporter
|
// https://www.npmjs.com/package/cypress-mochawesome-reporter
|
||||||
|
@ -38,7 +38,7 @@ export default defineConfig({
|
||||||
supportFile: 'test/cypress/support/unit.js',
|
supportFile: 'test/cypress/support/unit.js',
|
||||||
},
|
},
|
||||||
setupNodeEvents: async (on, config) => {
|
setupNodeEvents: async (on, config) => {
|
||||||
// on('file:preprocessor', vitePreprocessor());
|
on('file:preprocessor', vitePreprocessor());
|
||||||
const plugin = await import('cypress-mochawesome-reporter/plugin');
|
const plugin = await import('cypress-mochawesome-reporter/plugin');
|
||||||
plugin.default(on);
|
plugin.default(on);
|
||||||
return config;
|
return config;
|
||||||
|
@ -48,5 +48,5 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
experimentalMemoryManagement: true,
|
experimentalMemoryManagement: true,
|
||||||
defaultCommandTimeout: 10000,
|
defaultCommandTimeout: 10000,
|
||||||
numTestsKeptInMemory: 1,
|
numTestsKeptInMemory: 0,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue