Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax <max@nextcloud.com>2022-03-21 14:10:35 +0300
committerMax <max@nextcloud.com>2022-03-31 15:29:24 +0300
commit5ea06281ebc17add0074ea696e4a79e5821793d5 (patch)
treee30f53cb4fe382ee25a1c8b3eaf9968418af106b /cypress
parent932191e8dcf285c5eba7eb0503f2d5d02e189251 (diff)
feat: add and remove columns in tables
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/plugins/index.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js
index d9762fcd2..6a2be1cea 100644
--- a/cypress/plugins/index.js
+++ b/cypress/plugins/index.js
@@ -13,13 +13,10 @@
const browserify = require('@cypress/browserify-preprocessor')
const webpack = require('@cypress/webpack-preprocessor')
-const defaults = webpack.defaultOptions
+const webpackOptions = require('@nextcloud/webpack-vue-config')
module.exports = (on, config) => {
on('file:preprocessor', browserify())
- defaults.webpackOptions.module.rules.push({
- test: /\.md/,
- type: 'asset/source',
- })
- on('file:preprocessor', webpack(defaults))
+ webpackOptions.module.rules.push({ test: /\.md/, type: 'asset/source' })
+ on('file:preprocessor', webpack({webpackOptions}))
}