youjo-fe/cypress.config.js
2022-11-27 20:56:12 +00:00

20 lines
445 B
JavaScript

const { defineConfig } = require("cypress");
const config = require('./build/webpack.dev.conf');
module.exports = defineConfig({
e2e: {
baseUrl: "http://localhost:8080",
setupNodeEvents(on, config) {
// implement node event listeners here
},
viewportHeight: 1080,
viewportWidth: 1920,
},
component: {
devServer: {
framework: "vue",
bundler: "webpack",
webpackConfig: config
},
},
});