diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-04 19:06:52 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-17 18:30:41 +0100 |
commit | b9906fb21e9f1aadf14e473b8c26a2ec7537fa11 (patch) | |
tree | 3b068eb999c675760d715e78da2d5eee8668cb44 /cypress.config.ts | |
parent | 9af7ee8d11b43a7a3d14f7aa8390aff0a4174f55 (diff) | |
download | nextcloud-server-b9906fb21e9f1aadf14e473b8c26a2ec7537fa11.tar.gz nextcloud-server-b9906fb21e9f1aadf14e473b8c26a2ec7537fa11.zip |
feat(files): Quota in navigation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'cypress.config.ts')
-rw-r--r-- | cypress.config.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cypress.config.ts b/cypress.config.ts index 02b0bbf2734..b8cb90c5177 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -100,6 +100,20 @@ export default defineConfig({ process.env.npm_package_version = '1.0.0' process.env.NODE_ENV = 'development' + /** + * Needed for cypress stubbing + * + * @see https://github.com/sinonjs/sinon/issues/1121 + * @see https://github.com/cypress-io/cypress/issues/18662 + */ + const babel = require('./babel.config.js') + babel.plugins.push([ + '@babel/plugin-transform-modules-commonjs', + { + loose: true, + }, + ]) + const config = require('@nextcloud/webpack-vue-config') config.module.rules.push({ test: /\.svg$/, |