Replace cypress.config.js with cypress.config.ts

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-08-01 14:29:42 +02:00
parent 816dede9e2
commit 2fe7d69557
2 changed files with 18 additions and 18 deletions

View file

@ -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}'
}
},
};

18
cypress.config.ts Normal file
View file

@ -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}'
}
})