Skip to content

Commit a719051

Browse files
committed
test: try to fix coverage
1 parent 12cc300 commit a719051

8 files changed

Lines changed: 71 additions & 321 deletions

File tree

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
"lint:feathers-s3": "pnpm --filter @kalisio/feathers-s3 lint --fix",
2727
"lint:feathers-webpush": "pnpm --filter @kalisio/feathers-webpush lint --fix",
2828
"prepare": "husky",
29+
"pretest": "mkdir -p coverage",
2930
"test": "pnpm -r test --coverage",
31+
"postest": "pnpm dlx lcov-result-merger 'packages/*/coverage/lcov.info' coverage/lcov.info",
3032
"test:feathers-import-export": "pnpm --filter @kalisio/feathers-import-export test --coverage",
3133
"test:feathers-keycloak-listener": "pnpm --filter @kalisio/feathers-keycloak-listener test --coverage",
3234
"test:feathers-s3": "pnpm --filter @kalisio/feathers-s3 test --coverage",
@@ -65,17 +67,20 @@
6567
"@vitest/coverage-v8": "catalog:",
6668
"cross-env": "catalog:",
6769
"husky": "catalog:",
70+
"lcov-result-merger": "catalog:",
6871
"lint-staged": "catalog:",
6972
"mermaid": "catalog:",
7073
"standard": "catalog:",
7174
"vite": "catalog:",
72-
"vite-bundle-visualizer": "^1.2.1",
75+
"vite-bundle-visualizer": "catalog:",
7376
"vitepress": "catalog:",
7477
"vitepress-plugin-mermaid": "catalog:",
7578
"vitepress-theme-kalisio": "catalog:",
7679
"vitest": "catalog:"
7780
},
7881
"pnpm": {
79-
"overrides": {}
82+
"overrides": {
83+
"@kalisio/meta-ekosystem": "link:../meta-ekosystem"
84+
}
8085
}
8186
}

packages/feathers-import-export/test/empty-export.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { getTmpPath, gunzipDataset, clearDataset } from './utils.dataset.js'
99

1010
feathers.setDebug(makeDebug)
1111

12-
const port = 3000 + Math.floor(Math.random() * 100)
12+
const port = 3100 + Math.floor(Math.random() * 100)
1313
const namespace = 'empty-export'
1414

1515
let app

packages/feathers-import-export/test/exception.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { createMongoService, removeMongoService } from './utils.mongodb.js'
88

99
feathers.setDebug(makeDebug)
1010

11-
const port = 3000 + Math.floor(Math.random() * 100)
11+
const port = 3100 + Math.floor(Math.random() * 100)
1212
const namespace = 'exception'
1313

1414
let app

packages/feathers-import-export/test/hooks.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { getTmpPath, gunzipDataset, clearDataset } from './utils.dataset.js'
1111

1212
feathers.setDebug(makeDebug)
1313

14-
const port = 3000 + Math.floor(Math.random() * 100)
14+
const port = 3100 + Math.floor(Math.random() * 100)
1515
const namespace = 'hooks'
1616

1717
let app

packages/feathers-import-export/test/nominal.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { unzipFile, untarFile } from './utils.archive.js'
1212

1313
feathers.setDebug(makeDebug)
1414

15-
const port = 3000 + Math.floor(Math.random() * 100)
15+
const port = 3100 + Math.floor(Math.random() * 100)
1616
const namespace = 'nominal'
1717

1818
let app

0 commit comments

Comments
 (0)