inquirer(feat): re-add checkbox prompt support for default
prop
#1866
main.yml
on: pull_request
Compile
1m 6s
Matrix: Unit Tests
Linting
55s
End to End build tests
1m 5s
Are the types wrong?
38s
Matrix: Integration Tests
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
|