Skip to content

Commit b9f0a43

Browse files
committed
Rename .test. to .cy.
1 parent 514b4b9 commit b9f0a43

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

cypress.config.ts

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
1-
import {defineConfig} from "cypress";
1+
import { defineConfig } from 'cypress';
22

3-
import {defineConfig as defineViteConfig} from 'vite';
3+
import { defineConfig as defineViteConfig } from 'vite';
44

55
import react from '@vitejs/plugin-react';
66

77
const viteConfig = defineViteConfig({
8-
plugins: [
9-
react(),
10-
],
8+
plugins: [react()],
119
});
1210
export default defineConfig({
1311
includeShadowDom: true,
1412
viewportWidth: 1920,
1513
viewportHeight: 1080,
1614
component: {
1715
devServer: {
18-
framework: "react",
19-
bundler: "vite",
16+
framework: 'react',
17+
bundler: 'vite',
2018
viteConfig: viteConfig,
2119
},
22-
specPattern: "**/*.test.{js,ts,jsx,tsx}",
20+
specPattern: '**/*.cy.{js,ts,jsx,tsx}',
2321
},
2422

2523
e2e: {
26-
baseUrl: "http://localhost:5173/",
24+
baseUrl: 'http://localhost:5173/',
2725
setupNodeEvents() {
2826
// implement node event listeners here
2927
},
File renamed without changes.

src/components/Dialogs/DeleteConfirmationDialog.test.tsx renamed to src/components/Dialogs/DeleteConfirmationDialog.cy.tsx

File renamed without changes.
File renamed without changes.
File renamed without changes.

src/components/Ui/IllustratedBanner/IllustratedBanner.test.tsx renamed to src/components/Ui/IllustratedBanner/IllustratedBanner.cy.tsx

File renamed without changes.

0 commit comments

Comments
 (0)