|
Lines 1-17
Link Here
|
| 1 |
const { startDevServer } = require('@cypress/webpack-dev-server') |
1 |
const { startDevServer } = require("@cypress/webpack-dev-server"); |
| 2 |
|
2 |
|
| 3 |
module.exports = (on, config) => { |
3 |
module.exports = (on, config) => { |
| 4 |
on('dev-server:start', options => |
4 |
on("dev-server:start", options => |
| 5 |
startDevServer({ |
5 |
startDevServer({ |
| 6 |
options, |
6 |
options, |
| 7 |
}) |
7 |
}) |
| 8 |
) |
8 |
); |
| 9 |
|
9 |
|
| 10 |
return config |
10 |
return config; |
| 11 |
} |
11 |
}; |
| 12 |
|
12 |
|
| 13 |
const mysql = require('cypress-mysql'); |
13 |
const mysql = require("cypress-mysql"); |
| 14 |
|
14 |
|
| 15 |
module.exports = (on, config) => { |
15 |
module.exports = (on, config) => { |
| 16 |
mysql.configurePlugin(on); |
16 |
mysql.configurePlugin(on); |
| 17 |
} |
17 |
}; |
| 18 |
- |
|
|