mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
test: say which CI job and which files the discovery guard covers
This commit is contained in:
1 parent
3bc41cc12a
commit
85754bcf50
2 files changed
+11
-9
No files matched your search
@@ -25,10 +25,11 @@ export function assertNode24AllocationRuntime(version = process.versions.node) {
|
||||
* Directories this runner searches for `*.test.mjs`, in stable order.
|
||||
*
|
||||
* `server/` belongs here because provider modules own tests of their own: a
|
||||
* suite placed beside the module it covers must run, and `npm test` is the only
|
||||
* thing CI invokes, so a directory missing from this list is a suite that never
|
||||
* runs anywhere. `unitTestRunner.test.mjs` asserts the list covers every test
|
||||
* file in the repository, so adding a tree without adding it here fails.
|
||||
* suite placed beside the module it covers must run, and CI's unit-test job runs
|
||||
* `npm test`, so a directory missing from this list is a suite that never runs
|
||||
* there. `unitTestRunner.test.mjs` asserts the list covers every `*.test.mjs`
|
||||
* outside dependencies, build output and dot-directories, so adding a tree
|
||||
* without adding it here fails.
|
||||
*/
|
||||
export const UNIT_TEST_ROOTS = Object.freeze(['src', 'server']);
|
||||
|
||||
|
||||
Reference in new issue
Block a user