Skip to content

feat!: parseNi etc. now return ResolvedCommand object instead of string, migrate to tinyexec #441

feat!: parseNi etc. now return ResolvedCommand object instead of string, migrate to tinyexec

feat!: parseNi etc. now return ResolvedCommand object instead of string, migrate to tinyexec #441

Triggered via pull request August 26, 2024 17:22
Status Failure
Total duration 28s
Artifacts

test.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

21 errors
test/ng.spec.ts > wrong agent: test/ng.spec.ts#L7
AssertionError: expected [Function] to throw error including 'Unsupported agent "idk"' but got 'Cannot read properties of undefined (…' Expected: "Unsupported agent "idk"" Received: "Cannot read properties of undefined (reading 'install')" ❯ test/ng.spec.ts:7:6
test/na/bun.spec.ts > empty: test/na/bun.spec.ts#L9
AssertionError: expected { command: 'bun', args: [] } to be 'bun' // Object.is equality - Expected: "bun" + Received: Object { "args": Array [], "command": "bun", } ❯ test/na/bun.spec.ts:9:7
test/na/bun.spec.ts > foo: test/na/bun.spec.ts#L9
AssertionError: expected { command: 'bun', args: [ 'foo' ] } to be 'bun foo' // Object.is equality - Expected: "bun foo" + Received: Object { "args": Array [ "foo", ], "command": "bun", } ❯ test/na/bun.spec.ts:9:7
test/na/bun.spec.ts > run test: test/na/bun.spec.ts#L9
AssertionError: expected { command: 'bun', …(1) } to be 'bun run test' // Object.is equality - Expected: "bun run test" + Received: Object { "args": Array [ "run", "test", ], "command": "bun", } ❯ test/na/bun.spec.ts:9:7
test/na/npm.spec.ts > empty: test/na/npm.spec.ts#L9
AssertionError: expected { command: 'npm', args: [] } to be 'npm' // Object.is equality - Expected: "npm" + Received: Object { "args": Array [], "command": "npm", } ❯ test/na/npm.spec.ts:9:7
test/na/npm.spec.ts > foo: test/na/npm.spec.ts#L9
AssertionError: expected { command: 'npm', args: [ 'foo' ] } to be 'npm foo' // Object.is equality - Expected: "npm foo" + Received: Object { "args": Array [ "foo", ], "command": "npm", } ❯ test/na/npm.spec.ts:9:7
test/na/npm.spec.ts > run test: test/na/npm.spec.ts#L9
AssertionError: expected { command: 'npm', …(1) } to be 'npm run test' // Object.is equality - Expected: "npm run test" + Received: Object { "args": Array [ "run", "test", ], "command": "npm", } ❯ test/na/npm.spec.ts:9:7
test/na/pnpm.spec.ts > empty: test/na/pnpm.spec.ts#L9
AssertionError: expected { command: 'pnpm', args: [] } to be 'pnpm' // Object.is equality - Expected: "pnpm" + Received: Object { "args": Array [], "command": "pnpm", } ❯ test/na/pnpm.spec.ts:9:7
test/na/pnpm.spec.ts > foo: test/na/pnpm.spec.ts#L9
AssertionError: expected { command: 'pnpm', args: [ 'foo' ] } to be 'pnpm foo' // Object.is equality - Expected: "pnpm foo" + Received: Object { "args": Array [ "foo", ], "command": "pnpm", } ❯ test/na/pnpm.spec.ts:9:7
test/na/pnpm.spec.ts > run test: test/na/pnpm.spec.ts#L9
AssertionError: expected { command: 'pnpm', …(1) } to be 'pnpm run test' // Object.is equality - Expected: "pnpm run test" + Received: Object { "args": Array [ "run", "test", ], "command": "pnpm", } ❯ test/na/pnpm.spec.ts:9:7
build (18.x)
The job was canceled because "lts__" failed.
test/ng.spec.ts > wrong agent: test/ng.spec.ts#L7
AssertionError: expected [Function] to throw error including 'Unsupported agent "idk"' but got 'Cannot read properties of undefined (…' Expected: "Unsupported agent "idk"" Received: "Cannot read properties of undefined (reading 'install')" ❯ test/ng.spec.ts:7:6
test/na/bun.spec.ts > empty: test/na/bun.spec.ts#L9
AssertionError: expected { command: 'bun', args: [] } to be 'bun' // Object.is equality - Expected: "bun" + Received: Object { "args": Array [], "command": "bun", } ❯ test/na/bun.spec.ts:9:7
test/na/bun.spec.ts > foo: test/na/bun.spec.ts#L9
AssertionError: expected { command: 'bun', args: [ 'foo' ] } to be 'bun foo' // Object.is equality - Expected: "bun foo" + Received: Object { "args": Array [ "foo", ], "command": "bun", } ❯ test/na/bun.spec.ts:9:7
test/na/bun.spec.ts > run test: test/na/bun.spec.ts#L9
AssertionError: expected { command: 'bun', …(1) } to be 'bun run test' // Object.is equality - Expected: "bun run test" + Received: Object { "args": Array [ "run", "test", ], "command": "bun", } ❯ test/na/bun.spec.ts:9:7
test/na/npm.spec.ts > empty: test/na/npm.spec.ts#L9
AssertionError: expected { command: 'npm', args: [] } to be 'npm' // Object.is equality - Expected: "npm" + Received: Object { "args": Array [], "command": "npm", } ❯ test/na/npm.spec.ts:9:7
test/na/npm.spec.ts > foo: test/na/npm.spec.ts#L9
AssertionError: expected { command: 'npm', args: [ 'foo' ] } to be 'npm foo' // Object.is equality - Expected: "npm foo" + Received: Object { "args": Array [ "foo", ], "command": "npm", } ❯ test/na/npm.spec.ts:9:7
test/na/npm.spec.ts > run test: test/na/npm.spec.ts#L9
AssertionError: expected { command: 'npm', …(1) } to be 'npm run test' // Object.is equality - Expected: "npm run test" + Received: Object { "args": Array [ "run", "test", ], "command": "npm", } ❯ test/na/npm.spec.ts:9:7
test/na/pnpm.spec.ts > empty: test/na/pnpm.spec.ts#L9
AssertionError: expected { command: 'pnpm', args: [] } to be 'pnpm' // Object.is equality - Expected: "pnpm" + Received: Object { "args": Array [], "command": "pnpm", } ❯ test/na/pnpm.spec.ts:9:7
test/na/pnpm.spec.ts > foo: test/na/pnpm.spec.ts#L9
AssertionError: expected { command: 'pnpm', args: [ 'foo' ] } to be 'pnpm foo' // Object.is equality - Expected: "pnpm foo" + Received: Object { "args": Array [ "foo", ], "command": "pnpm", } ❯ test/na/pnpm.spec.ts:9:7
test/na/pnpm.spec.ts > run test: test/na/pnpm.spec.ts#L9
AssertionError: expected { command: 'pnpm', …(1) } to be 'pnpm run test' // Object.is equality - Expected: "pnpm run test" + Received: Object { "args": Array [ "run", "test", ], "command": "pnpm", } ❯ test/na/pnpm.spec.ts:9:7