diff --git a/cypress.config.js b/cypress.config.js deleted file mode 100644 index 90edb2408..000000000 --- a/cypress.config.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file) - * - * SPDX-License-Identifier: AGPL-3.0-only - */ - -module.exports = { - e2e: { - defaultCommandTimeout: 15000, - video: false, - projectId: 'ht3vbo', - - e2e: { - baseUrl: 'http://127.0.0.1:3001/', - specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}' - } - }, -}; diff --git a/cypress.config.ts b/cypress.config.ts new file mode 100644 index 000000000..02868d3cd --- /dev/null +++ b/cypress.config.ts @@ -0,0 +1,18 @@ +/* + * SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file) + * + * SPDX-License-Identifier: AGPL-3.0-only + */ + +import { defineConfig } from 'cypress' + +export default defineConfig({ + defaultCommandTimeout: 15000, + video: false, + projectId: 'ht3vbo', + + e2e: { + baseUrl: 'http://127.0.0.1:3001/', + specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}' + } +})