@zenfs/core 2.3.8 → 2.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/readme.md +4 -0
- package/scripts/test.js +3 -3
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -220,6 +220,10 @@ A huge thank you to [ or by emailing jp@zenfs.dev
|
|
226
|
+
|
|
223
227
|
### Testing
|
|
224
228
|
|
|
225
229
|
Run unit tests with:
|
package/scripts/test.js
CHANGED
|
@@ -22,7 +22,7 @@ const { values: options, positionals } = parseArgs({
|
|
|
22
22
|
build: { short: 'b', type: 'boolean', default: false },
|
|
23
23
|
common: { short: 'c', type: 'boolean', default: false },
|
|
24
24
|
inspect: { short: 'I', type: 'boolean', default: false },
|
|
25
|
-
skip: { short: 's', type: 'string' },
|
|
25
|
+
skip: { short: 's', type: 'string', multiple: true, default: [] },
|
|
26
26
|
'exit-on-fail': { short: 'e', type: 'boolean' },
|
|
27
27
|
|
|
28
28
|
// Coverage
|
|
@@ -47,7 +47,7 @@ Behavior:
|
|
|
47
47
|
-t, --test <glob> Which FS test suite(s) to run
|
|
48
48
|
-f, --force Whether to use --test-force-exit
|
|
49
49
|
-I, --inspect Use the inspector for debugging
|
|
50
|
-
-s, --skip <pattern> Skip tests with names matching the given pattern.
|
|
50
|
+
-s, --skip <pattern> Skip tests with names matching the given pattern. Can be specified multiple times.
|
|
51
51
|
|
|
52
52
|
Output:
|
|
53
53
|
-h, --help Outputs this help message
|
|
@@ -215,7 +215,7 @@ for (const setupFile of positionals) {
|
|
|
215
215
|
options.inspect ? '--inspect' : '',
|
|
216
216
|
'--test --experimental-test-coverage',
|
|
217
217
|
options.force ? '--test-force-exit' : '',
|
|
218
|
-
options.skip ? `--test-skip-pattern
|
|
218
|
+
options.skip.length ? `--test-skip-pattern='${options.skip.join('|').replaceAll("'", "\\'")}'` : '',
|
|
219
219
|
`'${testsGlob.replaceAll("'", "\\'")}'`,
|
|
220
220
|
process.env.CMD,
|
|
221
221
|
].join(' '),
|