Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7a6d28f

Browse files
committed
version 3.7.1 snapshot
1 parent f1b7edd commit 7a6d28f

File tree

185 files changed

+48
-5272
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+48
-5272
lines changed

jsx-pinia-with-tests/.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,3 @@ coverage
2626
*.njsproj
2727
*.sln
2828
*.sw?
29-
30-
logs/
31-
tests_output/
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
{
2-
"recommendations": [
3-
"Vue.volar",
4-
"Vue.vscode-typescript-vue-plugin",
5-
"browserstackcom.nightwatch"
6-
]
2+
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
73
}

jsx-pinia-with-tests/README.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -49,26 +49,3 @@ But it's still recommended to test the production build with `test:e2e` before d
4949
pnpm build
5050
pnpm test:e2e
5151
```
52-
53-
### Run End-to-End Tests with [Nightwatch](https://nightwatchjs.org/)
54-
55-
```sh
56-
# When using CI, the project must be built first.
57-
pnpm build
58-
59-
# Runs the end-to-end tests
60-
pnpm test:e2e
61-
# Runs the tests only on Chrome
62-
pnpm test:e2e --env chrome
63-
# Runs the tests of a specific file
64-
pnpm test:e2e tests/e2e/example.js
65-
# Runs the tests in debug mode
66-
pnpm test:e2e --debug
67-
```
68-
69-
### Run Headed Component Tests with [Nightwatch Component Testing](https://nightwatchjs.org/guide/component-testing/introduction.html)
70-
71-
```sh
72-
pnpm test:unit
73-
pnpm test:unit -- --headless # for headless testing
74-
```

jsx-pinia-with-tests/nightwatch.conf.js

Lines changed: 0 additions & 152 deletions
This file was deleted.

jsx-pinia-with-tests/nightwatch/custom-assertions/elementHasCount.js

Lines changed: 0 additions & 45 deletions
This file was deleted.

jsx-pinia-with-tests/nightwatch/custom-commands/strictClick.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

jsx-pinia-with-tests/nightwatch/globals.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

jsx-pinia-with-tests/package.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,21 @@
77
"build": "vite build",
88
"preview": "vite preview",
99
"test:unit": "vitest",
10-
"test:e2e": "nightwatch tests/e2e",
10+
"test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
1111
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'"
1212
},
1313
"dependencies": {
1414
"pinia": "^2.1.3",
1515
"vue": "^3.3.4"
1616
},
1717
"devDependencies": {
18-
"@nightwatch/vue": "0.4.5",
19-
"@types/nightwatch": "^2.3.23",
2018
"@vitejs/plugin-vue": "^4.2.3",
2119
"@vitejs/plugin-vue-jsx": "^3.0.1",
2220
"@vue/test-utils": "^2.3.2",
23-
"chromedriver": "^114.0.2",
2421
"cypress": "^12.14.0",
25-
"geckodriver": "^3.2.0",
2622
"jsdom": "^22.1.0",
27-
"nightwatch": "^2.6.21",
2823
"start-server-and-test": "^2.0.0",
29-
"ts-node": "^10.9.1",
3024
"vite": "^4.3.9",
31-
"vitest": "^0.32.0",
32-
"wait-on": "^7.0.1"
25+
"vitest": "^0.32.0"
3326
}
3427
}

jsx-pinia-with-tests/tests/e2e/example.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

jsx-pinia-with-tests/vite.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@ import { fileURLToPath, URL } from 'node:url'
33
import { defineConfig } from 'vite'
44
import vue from '@vitejs/plugin-vue'
55
import vueJsx from '@vitejs/plugin-vue-jsx'
6-
import nightwatchPlugin from 'vite-plugin-nightwatch'
76

87
// https://vitejs.dev/config/
98
export default defineConfig({
109
plugins: [
1110
vue(),
1211
vueJsx(),
13-
nightwatchPlugin(),
1412
],
1513
resolve: {
1614
alias: {

0 commit comments

Comments
 (0)