supertape 6.12.0 → 6.12.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/ChangeLog +6 -0
- package/lib/cli.js +4 -1
- package/package.json +1 -1
package/ChangeLog
CHANGED
package/lib/cli.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const {resolve: resolvePath} = require('path');
|
|
4
4
|
const {once} = require('events');
|
|
5
|
+
const {pathToFileURL} = require('url');
|
|
5
6
|
|
|
6
7
|
const yargsParser = require('yargs-parser');
|
|
7
8
|
const glob = require('glob');
|
|
@@ -166,7 +167,9 @@ async function cli({argv, cwd, stdout, isStop}) {
|
|
|
166
167
|
const files = removeDuplicates(allFiles);
|
|
167
168
|
|
|
168
169
|
for (const file of files) {
|
|
169
|
-
|
|
170
|
+
// always resolve before import for windows
|
|
171
|
+
const resolved = pathToFileURL(resolvePath(cwd, file));
|
|
172
|
+
promises.push(simpleImport(resolved));
|
|
170
173
|
}
|
|
171
174
|
|
|
172
175
|
filesCount(files.length);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supertape",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.1",
|
|
4
4
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
5
5
|
"description": "📼 Supertape fastest simplest test runner with lots of formatters",
|
|
6
6
|
"homepage": "http://github.com/coderaiser/supertape",
|