fix(tests): fix failing cypress tests and update cypress
* test: update cypress and migrate configs * test: fix codeBlockLowlight test * test: bump cypress actions
This commit is contained in:
12
tests/cypress.config.js
Normal file
12
tests/cypress.config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const { defineConfig } = require('cypress')
|
||||
|
||||
module.exports = defineConfig({
|
||||
defaultCommandTimeout: 15000,
|
||||
e2e: {
|
||||
setupNodeEvents(on, config) {
|
||||
return require('./cypress/plugins/index.js')(on, config)
|
||||
},
|
||||
baseUrl: 'http://localhost:3000',
|
||||
specPattern: '../{demos,tests}/**/*.spec.{js,ts}',
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user