Skip to content

Commit 76e230d

Browse files
fix vitest clashing with cypress tests
1 parent 6c121e5 commit 76e230d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/scripts/gh-pages-deploy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { execa } from 'execa'
55
try {
66
var datetime = new Date();
77

8+
// this will save potential changes that might get lost if you didn't commit them
89
await execa("git", ["stash", "push", "-m", "before deploy on " + datetime]);
910
await execa("git", ["checkout", "--orphan", "gh-pages"]);
1011

vue-dd/vitest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ export default defineConfig({
1010
test: {
1111
globals: true,
1212
environment: 'jsdom',
13+
include: ["test/*.test.ts"],
1314
},
1415
})

0 commit comments

Comments
 (0)