diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-11 15:53:45 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-11 15:53:45 +0900 |
| commit | eaf6ddd47496e884066006f1fb35e3a90aac5176 (patch) | |
| tree | 28ddddfcb6d4379c66ac4f55536a47963a83444e /cypress.config.ts | |
| parent | feat: image cropping (#8808) (diff) | |
| download | misskey-eaf6ddd47496e884066006f1fb35e3a90aac5176.tar.gz misskey-eaf6ddd47496e884066006f1fb35e3a90aac5176.tar.bz2 misskey-eaf6ddd47496e884066006f1fb35e3a90aac5176.zip | |
update cypress
Diffstat (limited to 'cypress.config.ts')
| -rw-r--r-- | cypress.config.ts | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/cypress.config.ts b/cypress.config.ts index 3c8a8c1387..e390c41a54 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -1,7 +1,12 @@ -import { defineConfig } from 'cypress'; +import { defineConfig } from 'cypress' export default defineConfig({ - e2e: { - baseUrl: 'http://localhost:61812', - }, -}); + e2e: { + // We've imported your old cypress plugins here. + // You may want to clean this up later by importing these. + setupNodeEvents(on, config) { + return require('./cypress/plugins/index.js')(on, config) + }, + baseUrl: 'http://localhost:61812', + }, +}) |