mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
20 lines
516 B
JavaScript
20 lines
516 B
JavaScript
import { defineConfig } from 'cypress'
|
|
import installLogsPrinter from 'cypress-terminal-report/src/installLogsPrinter.js'
|
|
import startMockServer from './mock-server.mjs'
|
|
|
|
export default defineConfig({
|
|
defaultCommandTimeout: 16_000,
|
|
requestTimeout: 16_000,
|
|
|
|
e2e: {
|
|
baseUrl: 'http://localhost:1234',
|
|
specPattern: 'cypress/integration/*.spec.ts',
|
|
|
|
setupNodeEvents(on) {
|
|
// implement node event listeners here
|
|
installLogsPrinter(on)
|
|
|
|
startMockServer('localhost', 4678)
|
|
},
|
|
},
|
|
})
|