@jsenv/test 3.3.6 → 3.3.8
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/dist/jsenv_test.js
CHANGED
|
@@ -2285,7 +2285,6 @@ const collectFiles = async ({
|
|
|
2285
2285
|
associations,
|
|
2286
2286
|
});
|
|
2287
2287
|
if (!predicate(meta)) return;
|
|
2288
|
-
|
|
2289
2288
|
const relativeUrl = urlToRelativeUrl(
|
|
2290
2289
|
directoryChildNodeUrl,
|
|
2291
2290
|
rootDirectoryUrl,
|
|
@@ -5767,7 +5766,10 @@ const executeTestPlan = async ({
|
|
|
5767
5766
|
// (can eventually be used for debug)
|
|
5768
5767
|
keepRunning = false,
|
|
5769
5768
|
|
|
5770
|
-
githubCheck = process.
|
|
5769
|
+
githubCheck = process.argv.includes("--github-check") &&
|
|
5770
|
+
process.env.GITHUB_WORKFLOW
|
|
5771
|
+
? githubCheckDefault
|
|
5772
|
+
: null,
|
|
5771
5773
|
coverage = process.argv.includes("--coverage") ? coverageDefault : null,
|
|
5772
5774
|
|
|
5773
5775
|
reporters = [],
|
|
@@ -6093,13 +6095,16 @@ const executeTestPlan = async ({
|
|
|
6093
6095
|
}
|
|
6094
6096
|
testPlan = {
|
|
6095
6097
|
"file:///**/node_modules/": null,
|
|
6096
|
-
"**/*./": null,
|
|
6097
6098
|
...testPlan,
|
|
6099
|
+
"**/.*/": null,
|
|
6098
6100
|
"**/.jsenv/": null, // ensure it's impossible to look for ".jsenv/"
|
|
6099
6101
|
};
|
|
6100
6102
|
}
|
|
6101
6103
|
// webServer
|
|
6102
6104
|
if (runtimeInfo.someNeedsServer) {
|
|
6105
|
+
if (webServer.start) {
|
|
6106
|
+
webServer = await webServer.start();
|
|
6107
|
+
}
|
|
6103
6108
|
await assertAndNormalizeWebServer(webServer, {
|
|
6104
6109
|
signal: operation.signal,
|
|
6105
6110
|
teardownCallbackSet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/test",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@c88/v8-coverage": "0.1.1",
|
|
40
40
|
"@jsenv/abort": "4.3.0",
|
|
41
|
-
"@jsenv/ast": "6.2.
|
|
42
|
-
"@jsenv/filesystem": "4.
|
|
43
|
-
"@jsenv/github-check-run": "0.1.
|
|
44
|
-
"@jsenv/humanize": "1.2.
|
|
45
|
-
"@jsenv/plugin-supervisor": "1.5.
|
|
46
|
-
"@jsenv/sourcemap": "1.2.
|
|
41
|
+
"@jsenv/ast": "6.2.2",
|
|
42
|
+
"@jsenv/filesystem": "4.8.0",
|
|
43
|
+
"@jsenv/github-check-run": "0.1.21",
|
|
44
|
+
"@jsenv/humanize": "1.2.4",
|
|
45
|
+
"@jsenv/plugin-supervisor": "1.5.2",
|
|
46
|
+
"@jsenv/sourcemap": "1.2.14",
|
|
47
47
|
"@jsenv/url-meta": "8.4.2",
|
|
48
|
-
"@jsenv/urls": "2.2.
|
|
48
|
+
"@jsenv/urls": "2.2.11",
|
|
49
49
|
"@jsenv/utils": "2.1.1",
|
|
50
50
|
"errorstacks": "2.4.1",
|
|
51
51
|
"he": "1.2.0",
|
|
@@ -129,7 +129,10 @@ export const executeTestPlan = async ({
|
|
|
129
129
|
// (can eventually be used for debug)
|
|
130
130
|
keepRunning = false,
|
|
131
131
|
|
|
132
|
-
githubCheck = process.
|
|
132
|
+
githubCheck = process.argv.includes("--github-check") &&
|
|
133
|
+
process.env.GITHUB_WORKFLOW
|
|
134
|
+
? githubCheckDefault
|
|
135
|
+
: null,
|
|
133
136
|
coverage = process.argv.includes("--coverage") ? coverageDefault : null,
|
|
134
137
|
|
|
135
138
|
reporters = [],
|
|
@@ -455,13 +458,16 @@ export const executeTestPlan = async ({
|
|
|
455
458
|
}
|
|
456
459
|
testPlan = {
|
|
457
460
|
"file:///**/node_modules/": null,
|
|
458
|
-
"**/*./": null,
|
|
459
461
|
...testPlan,
|
|
462
|
+
"**/.*/": null,
|
|
460
463
|
"**/.jsenv/": null, // ensure it's impossible to look for ".jsenv/"
|
|
461
464
|
};
|
|
462
465
|
}
|
|
463
466
|
// webServer
|
|
464
467
|
if (runtimeInfo.someNeedsServer) {
|
|
468
|
+
if (webServer.start) {
|
|
469
|
+
webServer = await webServer.start();
|
|
470
|
+
}
|
|
465
471
|
await assertAndNormalizeWebServer(webServer, {
|
|
466
472
|
signal: operation.signal,
|
|
467
473
|
teardownCallbackSet,
|