browser-ava 1.0.0 → 1.0.1
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/src/browser-ava-cli.mjs +7 -4
package/package.json
CHANGED
package/src/browser-ava-cli.mjs
CHANGED
|
@@ -68,9 +68,13 @@ program
|
|
|
68
68
|
|
|
69
69
|
await init;
|
|
70
70
|
|
|
71
|
-
tests = tests
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
tests = tests
|
|
72
|
+
// do not try to load unexpanded files names
|
|
73
|
+
// do expansion here ?
|
|
74
|
+
.filter(file => !file.match(/[\*\?]/))
|
|
75
|
+
.map(file => {
|
|
76
|
+
return { url: resolve(process.cwd(), file), file };
|
|
77
|
+
});
|
|
74
78
|
|
|
75
79
|
const { server, wss } = await createServer(tests, options);
|
|
76
80
|
|
|
@@ -134,7 +138,6 @@ program
|
|
|
134
138
|
|
|
135
139
|
program.parse(process.argv);
|
|
136
140
|
|
|
137
|
-
|
|
138
141
|
async function loadAndRewriteImports(file) {
|
|
139
142
|
let body = await readFile(file, utf8EncodingOptions);
|
|
140
143
|
|