Skip to content

Commit

Permalink
test: add test for workspaces (#520)
Browse files Browse the repository at this point in the history
* test: add test for workspaces

* test: print logs

* chore: install deps in monorepo-vitest-workspace

* chore: update versions

* chore: cleanup
  • Loading branch information
sheremet-va authored Oct 31, 2024
1 parent e90b6d1 commit bfcdac7
Show file tree
Hide file tree
Showing 8 changed files with 461 additions and 493 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Test

on:
push:
Expand Down Expand Up @@ -37,6 +37,7 @@ jobs:
- name: test-e2e
run: |
pnpm -C samples/e2e i
pnpm -C samples/monorepo-vitest-workspace i
npm -C samples/imba i
pnpm test-e2e --retry 2
Expand Down
9 changes: 3 additions & 6 deletions samples/monorepo-vitest-workspace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@
"scripts": {
"test": "vitest"
},
"dependencies": {
"mime-types": "^2.1.35"
},
"devDependencies": {
"@vitest/coverage-v8": "^1.6.0",
"happy-dom": "^2.49.0",
"vitest": "^1.6.0"
"@vitest/coverage-v8": "^2.1.4",
"happy-dom": "^15.7.4",
"vitest": "^2.1.4"
}
}
Loading

0 comments on commit bfcdac7

Please sign in to comment.