Bug 38503: Merge the module.exports
We redefine it and so the query/mysql plugin is not available
It fixes csrf.ts
14:36:17 koha_1 | The task 'query' was not handled in the setupNodeEvents method. The following tasks are registered: buildSampleObject, buildSampleObjects
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit a5eb0ba010)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
aae6af9754
commit
95490ba8e4
|
|
@ -1,6 +1,10 @@
|
|||
const { startDevServer } = require("@cypress/webpack-dev-server");
|
||||
const webpackConfig = require("@vue/cli-service/webpack.config.js");
|
||||
|
||||
const mysql = require("cypress-mysql");
|
||||
|
||||
const { buildSampleObject, buildSampleObjects } = require("./mockData.js");
|
||||
|
||||
module.exports = (on, config) => {
|
||||
on("dev-server:start", options =>
|
||||
startDevServer({
|
||||
|
|
@ -9,18 +13,8 @@ module.exports = (on, config) => {
|
|||
})
|
||||
);
|
||||
|
||||
return config;
|
||||
};
|
||||
|
||||
const mysql = require("cypress-mysql");
|
||||
|
||||
module.exports = (on, config) => {
|
||||
mysql.configurePlugin(on);
|
||||
};
|
||||
|
||||
const { buildSampleObject, buildSampleObjects } = require("./mockData.js");
|
||||
|
||||
module.exports = (on, config) => {
|
||||
on("task", {
|
||||
buildSampleObject,
|
||||
buildSampleObjects,
|
||||
|
|
|
|||
Loading…
Reference in New Issue