testronaut 1.10.0 → 1.10.2
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testronaut",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"main": "./runner/testronaut.js",
|
|
5
5
|
"bin": {
|
|
6
6
|
"testronaut": "bin/cli.js"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"cli"
|
|
52
52
|
],
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@types/node": "^
|
|
54
|
+
"@types/node": "^26.5.0",
|
|
55
55
|
"periapsis": "^2.0.1",
|
|
56
56
|
"vitest": "^4.1.11"
|
|
57
57
|
},
|
|
@@ -271,11 +271,11 @@ describe('cli helpers', () => {
|
|
|
271
271
|
});
|
|
272
272
|
|
|
273
273
|
it('returns "testronaut" when argv[1] basename is testronaut (global install)', () => {
|
|
274
|
-
expect(detectCliName(
|
|
274
|
+
expect(detectCliName(null, '/usr/local/bin/testronaut')).toBe('testronaut');
|
|
275
275
|
});
|
|
276
276
|
|
|
277
277
|
it('returns "npx testronaut" when argv[1] is cli.js (direct node invocation)', () => {
|
|
278
|
-
expect(detectCliName(
|
|
278
|
+
expect(detectCliName(null, '/home/user/testronaut-cli/bin/cli.js')).toBe('npx testronaut');
|
|
279
279
|
});
|
|
280
280
|
|
|
281
281
|
it('npm_command=exec takes precedence over a global-bin argv[1]', () => {
|
|
@@ -283,11 +283,11 @@ describe('cli helpers', () => {
|
|
|
283
283
|
});
|
|
284
284
|
|
|
285
285
|
it('returns "npx testronaut" when argv[1] is undefined', () => {
|
|
286
|
-
expect(detectCliName(
|
|
286
|
+
expect(detectCliName(null, null)).toBe('npx testronaut');
|
|
287
287
|
});
|
|
288
288
|
|
|
289
289
|
it('returns "npx testronaut" when argv[1] is empty string', () => {
|
|
290
|
-
expect(detectCliName(
|
|
290
|
+
expect(detectCliName(null, '')).toBe('npx testronaut');
|
|
291
291
|
});
|
|
292
292
|
});
|
|
293
293
|
});
|