Skip to content

Commit 7166808

Browse files
committed
add scripts
1 parent 8c32e94 commit 7166808

File tree

5 files changed

+10
-40
lines changed

5 files changed

+10
-40
lines changed
File renamed without changes.

packages/bundlers-tests/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"version": "0.0.0",
55
"scripts": {
66
"test:manual": "cypress run",
7-
"test": "tsx test-scipt/test-script.ts"
7+
"test:vite": "docker-compose --profile vite up --build --exit-code-from cypress_vite",
8+
"test:cli": "docker-compose --profile cli up --build --exit-code-from cypress_cli",
9+
"test:nuxt": "docker-compose --profile nuxt up --build --exit-code-from cypress_nuxt",
10+
"test": "yarn test:vite && yarn test:cli && yarn test:nuxt"
811
},
912
"dependencies": {
1013
"cypress": "^10.11.0"

packages/bundlers-tests/templates/src/App.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,9 @@ export default {
5151
return m % this.divisor === 0
5252
},
5353
},
54+
// test error
55+
// mounted() {
56+
// throw new Error('alksdhjka')
57+
// }
5458
}
5559
</script>

packages/bundlers-tests/test-scipt/test-script.ts

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
33
"types": ["cypress", "node"]
4-
}
4+
},
5+
"exclude": ["./docker-tests"]
56
}

0 commit comments

Comments
 (0)