From 2fe7d69557acfbae1550e80b946d9f382235909f Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Mon, 1 Aug 2022 14:29:42 +0200 Subject: [PATCH] Replace cypress.config.js with cypress.config.ts Signed-off-by: Tilman Vatteroth --- cypress.config.js | 18 ------------------ cypress.config.ts | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 cypress.config.js create mode 100644 cypress.config.ts 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}' + } +})