frequi_origin/cypress/plugins/index.js

14 lines
319 B
JavaScript
Raw Normal View History

2021-12-17 18:40:15 +00:00
// cypress/plugins/index.js
const { startDevServer } = require('@cypress/webpack-dev-server');
const webpackConfig = require('@vue/cli-service/webpack.config');
module.exports = (on, config) => {
on('dev-server:start', (options) => {
return startDevServer({
options,
webpackConfig,
});
});
};