Skip to content

Commit fd9b577

Browse files
committed
chore(update): drop outdated cypress dependencies
Signed-off-by: Max <max@nextcloud.com>
1 parent afc1a18 commit fd9b577

3 files changed

Lines changed: 188 additions & 1127 deletions

File tree

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,15 @@
33
* SPDX-License-Identifier: AGPL-3.0-or-later
44
*/
55

6-
const { defineConfig } = require('cypress')
7-
const cypressSplit = require('cypress-split')
6+
import { defineConfig } from 'cypress'
7+
import cypressSplit from 'cypress-split'
88

9-
module.exports = defineConfig({
9+
export default defineConfig({
1010
viewportWidth: 1280,
1111
viewportHeight: 900,
1212
e2e: {
1313
setupNodeEvents(on, config) {
14-
const browserify = require('@cypress/browserify-preprocessor')
15-
const webpack = require('@cypress/webpack-preprocessor')
16-
17-
on('file:preprocessor', browserify())
18-
on('file:preprocessor', webpack())
19-
2014
cypressSplit(on, config)
21-
2215
return config
2316
},
2417

0 commit comments

Comments
 (0)