Skip to content

Commit 85b65e6

Browse files
add cypress-real-events
1 parent 78418e4 commit 85b65e6

File tree

4 files changed

+28
-11
lines changed

4 files changed

+28
-11
lines changed

cypress/support/component.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { mount } from 'cypress/vue';
66
import VStepperForm from '../../src/plugin/VStepperForm.vue';
77
import * as DATA from '../templates/testData';
88
import type { Component } from 'vue';
9+
import "cypress-real-events";
910

1011

1112
// declare global {

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
"@wdns/vue-code-block": "^2.3.3",
107107
"autoprefixer": "^10.4.20",
108108
"cypress": "^13.15.2",
109+
"cypress-real-events": "^1.13.0",
109110
"eslint": "^9.15.0",
110111
"eslint-config-prettier": "^9.1.0",
111112
"eslint-import-resolver-typescript": "^3.6.3",

pnpm-lock.yaml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.cypress.json

+14-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
{
2+
"compilerOptions": {
3+
"composite": true,
4+
"rootDir": "./",
5+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.cypress-ct.tsbuildinfo",
6+
"typeRoots": [
7+
"./cypress/types",
8+
"./node_modules/@types"
9+
],
10+
"types": [
11+
"cypress-real-events",
12+
]
13+
},
14+
"exclude": [],
215
"extends": "./tsconfig.app.json",
316
"include": [
417
"cypress/**/*.ts",
@@ -9,15 +22,5 @@
922
"src/**/*",
1023
"src/**/*.vue",
1124
"src/**/__tests__/*"
12-
],
13-
"exclude": [],
14-
"compilerOptions": {
15-
"composite": true,
16-
"rootDir": "./",
17-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.cypress-ct.tsbuildinfo",
18-
"typeRoots": [
19-
"./cypress/types",
20-
"./node_modules/@types"
21-
],
22-
}
25+
]
2326
}

0 commit comments

Comments
 (0)