Koha/t/cypress/plugins/index.js
Jonathan Druart 06c62ab84a
Bug 36177: Cypress tests - cypress-mysql config
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-03-12 17:47:34 +01:00

19 lines
400 B
JavaScript

const { startDevServer } = require('@cypress/webpack-dev-server')
const webpackConfig = require('@vue/cli-service/webpack.config.js')
module.exports = (on, config) => {
on('dev-server:start', options =>
startDevServer({
options,
webpackConfig
})
)
return config
}
const mysql = require('cypress-mysql');
module.exports = (on, config) => {
mysql.configurePlugin(on);
}