Skip to content

Commit

Permalink
include e2e tests (#86)
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
Co-authored-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
  • Loading branch information
cre8 and cre8 committed Mar 8, 2024
1 parent b2a63fc commit 9d374eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"scripts": {
"build": "lerna run build --stream",
"lint": "biome lint ./packages",
"format": "biome format ./packages",
"test": "vitest run --coverage",
"format": "biome format . --write",
"test": "vitest run --coverage.enabled=true --coverage.include=packages/*",
"clean": "lerna clean -y",
"publish:latest": "lerna publish --conventional-commits --include-merged-tags --create-release github --yes --dist-tag latest",
"publish:next": "lerna publish --conventional-prerelease --force-publish --canary --no-git-tag-version --include-merged-tags --preid next --pre-dist-tag next --yes",
Expand Down
11 changes: 0 additions & 11 deletions vitest.shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,13 @@ import { defineProject, mergeConfig } from 'vitest/config';
export const browserConfig = defineProject({
test: {
globals: true,
exclude: ['**/*e2e.spec.ts'],
coverage: {
exclude: ['examples/**'],
reporter: ['json'],
},
environment: 'jsdom',
},
});

export const nodeConfig = defineProject({
test: {
globals: true,
exclude: ['**/*e2e.spec.ts'],
coverage: {
//TODO: the exclude is not working, therefore the coverage result are not correct.
exclude: ['examples/**'],
reporter: ['json'],
},
environment: 'node',
},
});
Expand Down

0 comments on commit 9d374eb

Please sign in to comment.