update GraphQL-ESLint to v4 in Schema Policies #16494
Annotations
10 errors
run integration tests:
integration-tests/tests/api/policy/policy-check.spec.ts#L78
AssertionError: expected [ 'ℹ Detected 1 change', '', …(5) ] to deeply equal [ 'ℹ Detected 1 change', '', …(10) ]
- Expected
+ Received
Array [
"ℹ Detected 1 change",
"",
" Safe changes:",
" - Field field was added to object type Query",
"",
- "",
- "⚠ Detected 1 warning",
- "",
- " - Description is required for type User (source: policy-require-description)",
- "",
"View full report:",
- Any<String>,
+ "http://localhost:8080/publiccitiesstayjoyously/hotpointsinventsafely/production/checks/534a8dfe-1850-4ef6-8303-0252f6e935eb",
]
❯ tests/api/policy/policy-check.spec.ts:78:35
|
run integration tests:
integration-tests/testkit/cli.ts#L193
AssertionError: promise resolved "'ℹ Detected 1 change\n\n Safe change…'" instead of rejecting
- Expected:
[Error: rejected promise]
+ Received:
"ℹ Detected 1 change
Safe changes:
- Field field was added to object type Query
View full report:
http://localhost:8080/yummyparksdropyearly/calmpanscrypolitely/production/checks/fef2c558-ef42-4d65-b9f9-c9abde2c5316"
❯ Object.check testkit/cli.ts:193:23
❯ tests/api/policy/policy-check.spec.ts:132:26
|
run integration tests:
integration-tests/tests/api/policy/policy-check.spec.ts#L200
AssertionError: expected 'ℹ Detected 2 changes\n\n Safe chang…' to contain 'Detected 2 warnings'
- Expected
+ Received
- Detected 2 warnings
+ ℹ Detected 2 changes
+
+ Safe changes:
+ - Type User was added
+ - Field user was added to object type Query
+
+ View full report:
+ http://localhost:8080/niceringspullslowly/sixwallswinkrapidly/production/checks/25a980b6-dc6e-48b9-a900-ea685141b34c
❯ tests/api/policy/policy-check.spec.ts:200:23
|
run integration tests:
integration-tests/testkit/cli.ts#L193
AssertionError: promise resolved "'ℹ Detected 2 changes\n\n Safe chang…'" instead of rejecting
- Expected:
[Error: rejected promise]
+ Received:
"ℹ Detected 2 changes
Safe changes:
- Type User was added
- Field user was added to object type Query
View full report:
http://localhost:8080/bigbathsfetchpolitely/wittysuitsfallknowlingly/production/checks/0d82418f-eeaa-4871-b3f5-6b59b104a426"
❯ Object.check testkit/cli.ts:193:23
❯ tests/api/policy/policy-check.spec.ts:233:26
|
run integration tests:
integration-tests/testkit/cli.ts#L193
AssertionError: promise resolved "'ℹ Detected 3 changes\n\n Safe chang…'" instead of rejecting
- Expected:
[Error: rejected promise]
+ Received:
"ℹ Detected 3 changes
Safe changes:
- Type User was added
- Field user was added to object type Query
- Field Query.foo is deprecated
View full report:
http://localhost:8080/luckyliesreplybravely/greatradioswarnhungrily/production/checks/9c4a5088-3dee-419a-b444-b8fc5aedd6b8"
❯ Object.check testkit/cli.ts:193:23
❯ tests/api/policy/policy-check.spec.ts:298:26
|
run integration tests:
integration-tests/tests/api/policy/policy-crud.spec.ts#L42
AssertionError: expected { Object (message) } to be null
❯ tests/api/policy/policy-crud.spec.ts:42:34
|
run integration tests:
integration-tests/tests/api/policy/policy-crud.spec.ts#L99
AssertionError: expected { Object (message) } to be null
❯ tests/api/policy/policy-crud.spec.ts:99:31
|
run integration tests:
integration-tests/tests/api/policy/policy-crud.spec.ts#L150
AssertionError: expected 'Validation error: Unknown rule name p…' to be 'Failed to validate rule "require-desc…' // Object.is equality
Expected: "Failed to validate rule "require-description" configuration: data/0 must NOT have additional properties"
Received: "Validation error: Unknown rule name passed at "config""
❯ tests/api/policy/policy-crud.spec.ts:150:43
|
run integration tests:
integration-tests/tests/api/policy/policy-crud.spec.ts#L163
AssertionError: expected 'Validation error: Unknown rule name p…' to be 'Failed to validate rule "require-desc…' // Object.is equality
Expected: "Failed to validate rule "require-description" configuration: data/0 must NOT have fewer than 1 properties"
Received: "Validation error: Unknown rule name passed at "config""
❯ tests/api/policy/policy-crud.spec.ts:163:43
|
run integration tests:
integration-tests/tests/api/policy/policy-crud.spec.ts#L187
AssertionError: expected { Object (message) } to be null
❯ tests/api/policy/policy-crud.spec.ts:187:34
|
Loading