just-test-node 2.0.0-alpha.4 → 2.0.0-alpha.5

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -133,12 +133,12 @@ async function getTestFileFunctionAsync(file) {
133
133
  testFileFunction = await Promise.resolve().then(() => __importStar(require(path_1.default.resolve(file))));
134
134
  }
135
135
  catch (reason) {
136
- throw `The file '${file}' matched the tests glob but failed to be imported. reason: ${reason}`;
136
+ throw `The file "${file}" matched the tests glob but failed to be imported. reason: ${reason}`;
137
137
  }
138
138
  if (typeof testFileFunction != "function")
139
139
  testFileFunction = testFileFunction.default;
140
140
  if (typeof testFileFunction != "function") {
141
- throw `The file '${file}' matched the tests glob but did not export a default function.`;
141
+ throw `The file "${file}" matched the tests glob but did not export a default function.`;
142
142
  }
143
143
  return testFileFunction;
144
144
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "just-test-node",
3
- "version": "2.0.0-alpha.4",
3
+ "version": "2.0.0-alpha.5",
4
4
  "description": "just-test on node.",
5
5
  "main": "./lib/index.js",
6
6
  "typings": "./lib/index.d.ts",