Skip to content

inquirer(feat): re-add checkbox prompt support for default prop #1866

inquirer(feat): re-add checkbox prompt support for default prop

inquirer(feat): re-add checkbox prompt support for default prop #1866

Triggered via pull request December 17, 2024 17:43
Status Failure
Total duration 2m 30s
Artifacts

main.yml

on: pull_request
Matrix: Unit Tests
Linting
55s
Linting
End to End build tests
1m 5s
End to End build tests
Are the types wrong?
38s
Are the types wrong?
Matrix: Integration Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 8 warnings
packages/inquirer/inquirer.test.ts > inquirer.prompt(...) > should parse `choices` if passed as a function: packages/inquirer/inquirer.test.ts#L488
AssertionError: expected [ { checked: false, …(2) }, …(1) ] to deeply equal [ { name: 'foo', value: 'foo' }, …(1) ] - Expected + Received Array [ Object { + "checked": false, "name": "foo", "value": "foo", }, Object { + "checked": false, "name": "bar", "value": "bar", }, ] ❯ new FakeSelect packages/inquirer/inquirer.test.ts:488:34 ❯ packages/inquirer/src/ui/prompt.ts:347:34 ❯ promptFn packages/inquirer/src/ui/prompt.ts:313:11 ❯ PromptsRunner.fetchAnswer packages/inquirer/src/ui/prompt.ts:383:12
Unit Tests (18)
Process completed with exit code 1.
packages/inquirer/inquirer.test.ts > inquirer.prompt(...) > should parse `choices` if passed as a function: packages/inquirer/inquirer.test.ts#L488
AssertionError: expected [ { checked: false, …(2) }, …(1) ] to deeply equal [ { name: 'foo', value: 'foo' }, …(1) ] - Expected + Received Array [ Object { + "checked": false, "name": "foo", "value": "foo", }, Object { + "checked": false, "name": "bar", "value": "bar", }, ] ❯ new FakeSelect packages/inquirer/inquirer.test.ts:488:34 ❯ packages/inquirer/src/ui/prompt.ts:347:34 ❯ promptFn packages/inquirer/src/ui/prompt.ts:313:11 ❯ PromptsRunner.fetchAnswer packages/inquirer/src/ui/prompt.ts:383:12
Unit Tests (20)
Process completed with exit code 1.
Unit Tests (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Tests (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Compile
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Are the types wrong?
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration Tests (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration Tests (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
End to End build tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636