global-state expression #2182
test-all.yml
on: pull_request
Code Hygiene
1m 3s
Unit and Integration Tests
1m 13s
Matrix: Packaging and Build tests
Annotations
18 errors
|
Code Hygiene:
src/util/is_object_literal.ts#L2
Expected indentation of 4 spaces but found 2
|
|
Code Hygiene:
src/util/is_object_literal.ts#L4
Expected indentation of 4 spaces but found 2
|
|
Code Hygiene:
src/validate/validate_schema.ts#L1
There should be no space after '{'
|
|
Code Hygiene:
src/validate/validate_schema.ts#L1
There should be no space before '}'
|
|
Code Hygiene:
src/validate/validate_schema.ts#L1
Strings must use singlequote
|
|
Code Hygiene:
src/validate/validate_schema.ts#L2
There should be no space after '{'
|
|
Code Hygiene:
src/validate/validate_schema.ts#L2
There should be no space before '}'
|
|
Code Hygiene:
src/validate/validate_schema.ts#L2
Strings must use singlequote
|
|
Code Hygiene:
src/validate/validate_schema.ts#L3
There should be no space after '{'
|
|
Code Hygiene:
src/validate/validate_schema.ts#L3
There should be no space before '}'
|
|
validate_spec › state-unknown-schema-type.input.json:
test/integration/style-spec/validate_spec.test.ts#L17
expect(received).toEqual(expected) // deep equality
- Expected - 6
+ Received + 1
- Array [
- Object {
- "line": 11,
- "message": "type: expected string, number or boolean",
- },
- ]
+ Array []
at Object.<anonymous> (test/integration/style-spec/validate_spec.test.ts:17:28)
|
|
validate_spec › state-invalid-string.input.json:
test/integration/style-spec/validate_spec.test.ts#L17
expect(received).toEqual(expected) // deep equality
- Expected - 10
+ Received + 1
- Array [
- Object {
- "line": 4,
- "message": "state.missingDefault: default is required",
- },
- Object {
- "line": 9,
- "message": "state.notAString.default: string expected",
- },
- ]
+ Array []
at Object.<anonymous> (test/integration/style-spec/validate_spec.test.ts:17:28)
|
|
validate_spec › state-invalid-number.input.json:
test/integration/style-spec/validate_spec.test.ts#L17
expect(received).toEqual(expected) // deep equality
- Expected - 18
+ Received + 1
- Array [
- Object {
- "line": 4,
- "message": "state.missingDefault: default is required",
- },
- Object {
- "line": 9,
- "message": "state.notANumber.default: number expected",
- },
- Object {
- "line": 13,
- "message": "state.belowMinimum.default: must be greater than or equal to 0",
- },
- Object {
- "line": 19,
- "message": "state.aboveMaximum.default: must be less than or equal to 100",
- },
- ]
+ Array []
at Object.<anonymous> (test/integration/style-spec/validate_spec.test.ts:17:28)
|
|
validate_spec › state-invalid-enum.input.json:
test/integration/style-spec/validate_spec.test.ts#L17
expect(received).toEqual(expected) // deep equality
- Expected - 14
+ Received + 1
- Array [
- Object {
- "line": 4,
- "message": "state.missingDefault: default is required",
- },
- Object {
- "line": 10,
- "message": "state.notMatchingDefault.default: expected one of the enum values: type1, type2, type3",
- },
- Object {
- "line": 13,
- "message": "state.emptyEnum.enum: expected at least 1 element",
- },
- ]
+ Array []
at Object.<anonymous> (test/integration/style-spec/validate_spec.test.ts:17:28)
|
|
validate_spec › state-invalid-boolean.input.json:
test/integration/style-spec/validate_spec.test.ts#L17
expect(received).toEqual(expected) // deep equality
- Expected - 10
+ Received + 1
- Array [
- Object {
- "line": 4,
- "message": "state.missingDefault: default is required",
- },
- Object {
- "line": 9,
- "message": "state.notABoolean.default: boolean expected",
- },
- ]
+ Array []
at Object.<anonymous> (test/integration/style-spec/validate_spec.test.ts:17:28)
|
|
validate_spec › state-array-missing-items.input.json:
test/integration/style-spec/validate_spec.test.ts#L17
expect(received).toEqual(expected) // deep equality
- Expected - 5
+ Received + 1
- Array [
- Object {
- "message": "state.chargerType.items: is required",
- },
- ]
+ Array []
at Object.<anonymous> (test/integration/style-spec/validate_spec.test.ts:17:28)
|
|
validate_spec › state-array-missing-invalid-items.input.json:
test/integration/style-spec/validate_spec.test.ts#L17
expect(received).toEqual(expected) // deep equality
- Expected - 10
+ Received + 1
- Array [
- Object {
- "line": 6,
- "message": "state.chargerType.items: object expected",
- },
- Object {
- "line": 11,
- "message": "state.selectedCategory.items: must have a \"type\" or \"enum\" property",
- },
- ]
+ Array []
at Object.<anonymous> (test/integration/style-spec/validate_spec.test.ts:17:28)
|
|
Unit and Integration Tests
Process completed with exit code 1.
|