Skip to content

ci: oclif mess around #2595

ci: oclif mess around

ci: oclif mess around #2595

Triggered via pull request November 16, 2024 06:13
Status Failure
Total duration 59s
Artifacts

ci.yml

on: pull_request
lint
27s
lint
GitHub Action Dry Run
13s
GitHub Action Dry Run
Matrix: Test Suite
Fit to window
Zoom out
Zoom in

Annotations

22 errors
lint
Process completed with exit code 1.
Unhandled error: __tests__/bin.test.ts#L11
AssertionError: expected '' to contain 'ReadMe\'s official CLI and GitHub Act…' - Expected + Received - ReadMe's official CLI and GitHub Action ❯ __tests__/bin.test.ts:11:24 ❯ ChildProcess.exithandler node:child_process:427:5 ❯ ChildProcess.emit node:events:518:28 ❯ maybeClose node:internal/child_process:1104:16 ❯ Process.ChildProcess._handle.onexit node:internal/child_process:304:5 This error originated in "__tests__/bin.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should show our help screen". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
__tests__/cmds/docker-gha.test.ts > rdme docker-gha (single arg string from GitHub Actions runner) > should return version from package.json for help command: __tests__/cmds/docker-gha.test.ts#L20
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser…" instead of resolving ❯ __tests__/cmds/docker-gha.test.ts:20:31 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
__tests__/cmds/docker-gha.test.ts > rdme docker-gha (single arg string from GitHub Actions runner) > should handle a single arg: __tests__/cmds/docker-gha.test.ts#L31
AssertionError: expected [Function] to throw error including 'Multiple API definitions found in cur…' but got 'Unexpected identifier \'assert\'' Expected: "Multiple API definitions found in current directory. Please specify file." Received: "Unexpected identifier 'assert'" ❯ __tests__/cmds/docker-gha.test.ts:31:5
__tests__/cmds/docker-gha.test.ts > rdme docker-gha (single arg string from GitHub Actions runner) > should validate file (file path in quotes): __tests__/cmds/docker-gha.test.ts#L42
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser… { …(4) }" instead of resolving ❯ __tests__/cmds/docker-gha.test.ts:42:104 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
__tests__/cmds/login.test.ts > rdme login > should post to /login on the API: __tests__/cmds/login.test.ts#L47
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser…" instead of resolving ❯ __tests__/cmds/login.test.ts:47:23 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
__tests__/cmds/login.test.ts > rdme login > should post to /login on the API if passing in project via opt: __tests__/cmds/login.test.ts#L61
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser… { …(4) }" instead of resolving ❯ __tests__/cmds/login.test.ts:61:45 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
__tests__/cmds/login.test.ts > rdme login > should bypass prompts and post to /login on the API if passing in every opt: __tests__/cmds/login.test.ts#L75
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser… { …(5) }" instead of resolving ❯ __tests__/cmds/login.test.ts:75:103 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
__tests__/cmds/login.test.ts > rdme login > should bypass prompts and post to /login on the API if passing in every opt (no 2FA): __tests__/cmds/login.test.ts#L89
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser… { …(5) }" instead of resolving ❯ __tests__/cmds/login.test.ts:89:87 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
__tests__/cmds/login.test.ts > rdme login > should error if invalid credentials are given: __tests__/cmds/login.test.ts#L111
AssertionError: expected error to have message: Either your email address or password is incorrect If you need help, email [email protected] and mention log "fake-metrics-uuid". - Expected + Received - Either your email address or password is incorrect - - If you need help, email [email protected] and mention log "fake-metrics-uuid". + Unexpected identifier 'assert' ❯ __tests__/cmds/login.test.ts:111:5
__tests__/cmds/login.test.ts > rdme login > should make additional prompt for token if login requires 2FA: __tests__/cmds/login.test.ts#L130
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser… { …(5) }" instead of resolving ❯ __tests__/cmds/login.test.ts:130:23 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
Unhandled error: __tests__/bin.test.ts#L11
AssertionError: expected '' to contain 'ReadMe\'s official CLI and GitHub Act…' - Expected + Received - ReadMe's official CLI and GitHub Action ❯ __tests__/bin.test.ts:11:24 ❯ ChildProcess.exithandler node:child_process:421:5 ❯ ChildProcess.emit node:events:507:28 ❯ maybeClose node:internal/child_process:1101:16 ❯ Process.ChildProcess._handle.onexit node:internal/child_process:305:5 This error originated in "__tests__/bin.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should show our help screen". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
__tests__/cmds/docker-gha.test.ts > rdme docker-gha (single arg string from GitHub Actions runner) > should return version from package.json for help command: __tests__/cmds/docker-gha.test.ts#L20
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser…" instead of resolving ❯ __tests__/cmds/docker-gha.test.ts:20:31 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
__tests__/cmds/docker-gha.test.ts > rdme docker-gha (single arg string from GitHub Actions runner) > should handle a single arg: __tests__/cmds/docker-gha.test.ts#L31
AssertionError: expected [Function] to throw error including 'Multiple API definitions found in cur…' but got 'Unexpected identifier \'assert\'' Expected: "Multiple API definitions found in current directory. Please specify file." Received: "Unexpected identifier 'assert'" ❯ __tests__/cmds/docker-gha.test.ts:31:5
__tests__/cmds/docker-gha.test.ts > rdme docker-gha (single arg string from GitHub Actions runner) > should validate file (file path in quotes): __tests__/cmds/docker-gha.test.ts#L42
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser… { …(4) }" instead of resolving ❯ __tests__/cmds/docker-gha.test.ts:42:104 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
__tests__/cmds/login.test.ts > rdme login > should post to /login on the API: __tests__/cmds/login.test.ts#L47
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser…" instead of resolving ❯ __tests__/cmds/login.test.ts:47:23 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
__tests__/cmds/login.test.ts > rdme login > should post to /login on the API if passing in project via opt: __tests__/cmds/login.test.ts#L61
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser… { …(4) }" instead of resolving ❯ __tests__/cmds/login.test.ts:61:45 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
__tests__/cmds/login.test.ts > rdme login > should bypass prompts and post to /login on the API if passing in every opt: __tests__/cmds/login.test.ts#L75
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser… { …(5) }" instead of resolving ❯ __tests__/cmds/login.test.ts:75:103 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
__tests__/cmds/login.test.ts > rdme login > should bypass prompts and post to /login on the API if passing in every opt (no 2FA): __tests__/cmds/login.test.ts#L89
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser… { …(5) }" instead of resolving ❯ __tests__/cmds/login.test.ts:89:87 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
__tests__/cmds/login.test.ts > rdme login > should error if invalid credentials are given: __tests__/cmds/login.test.ts#L111
AssertionError: expected error to have message: Either your email address or password is incorrect If you need help, email [email protected] and mention log "fake-metrics-uuid". - Expected + Received - Either your email address or password is incorrect - - If you need help, email [email protected] and mention log "fake-metrics-uuid". + Unexpected identifier 'assert' ❯ __tests__/cmds/login.test.ts:111:5
__tests__/cmds/login.test.ts > rdme login > should make additional prompt for token if login requires 2FA: __tests__/cmds/login.test.ts#L130
AssertionError: promise rejected "SyntaxError: Unexpected identifier 'asser… { …(5) }" instead of resolving ❯ __tests__/cmds/login.test.ts:130:23 Caused by: Caused by: SyntaxError: Unexpected identifier 'assert'
Test Suite (lts/-1)
Process completed with exit code 1.