chore: Automatically clear mocks between tests #1841
ci.yaml
on: pull_request
Generate test matrix
19s
Lint
1m 23s
Matrix: test
Check test results
0s
Annotations
10 errors and 45 warnings
src/matrix-cerbos/admin.test.ts > Client > admin > 'gRPC' > audit logs > planResources (unconditional) > getDecisionLogEntry > looks up an decision log entry by call ID:
private/test/src/matrix-cerbos/admin.test.ts#L523
AssertionError: expected { …(6) } to deeply equal { …(6) }
- Expected
+ Received
Object {
"auditTrail": Object {
- "effectivePolicies": Object {
- "resource.document.v1": Object {
- "driver": "disk",
- "source": "document.yaml",
- },
- "resource.document.v1/test": Object {
- "driver": "disk",
- "source": "test/document.yaml",
- },
- },
+ "effectivePolicies": Object {},
},
"callId": "01JHFK9GGQR1ZARP5EVNJX2RFB",
"metadata": Object {
"foo": Array [
"bar",
],
},
"method": Object {
"error": undefined,
"input": Object {
"action": "edit",
"auxData": Object {
"jwt": Object {
"delete": true,
},
},
"principal": Object {
"attr": Object {
"country": Object {
"alpha2": "",
"alpha3": "NZL",
},
},
"id": "[email protected]",
"policyVersion": "1",
"roles": Array [
"USER",
],
"scope": "test",
},
"requestId": "plan-resources-unconditional",
"resource": Object {
"attr": Object {
"owner": "[email protected]",
},
"kind": "document",
"policyVersion": "1",
"scope": "test",
},
},
"name": "PlanResources",
"output": Object {
"action": "edit",
"kind": "KIND_ALWAYS_ALLOWED",
"policyVersion": "1",
"requestId": "plan-resources-unconditional",
"scope": "test",
- "validationErrors": Array [
- Object {
- "message": "does not match pattern '[A-Z]{2}'",
- "path": "/country/alpha2",
- "source": "SOURCE_PRINCIPAL",
- },
- ],
+ "validationErrors": Array [],
},
},
"peer": Object {
"address": StringMatching /^\d{1,3}(?:\.\d{1,3}){3}:\d{1,5}$/,
"authInfo": "",
"forwardedFor": StringContaining "1.1.1.1, 2.2.2.2, 3.3.3.3",
"userAgent": "cerbos-sdk-javascript-grpc/0.19.0 grpc-node-js/1.12.5",
},
"timestamp": Any<Date>,
}
❯ src/matrix-cerbos/admin.test.ts:523:31
❯ Module.retry src/helpers.ts:266:14
❯ retryUntilFound src/matrix-cerbos/admin.test.ts:494:13
❯ src/matrix-cerbos/admin.test.ts:518:15
|
src/matrix-cerbos/admin.test.ts > Client > admin > 'gRPC' > audit logs > planResources (unconditional) > listDecisionLogEntries > between > returns entries between timestamps:
private/test/src/matrix-cerbos/admin.test.ts#L586
AssertionError: expected { …(6) } to deeply equal { …(6) }
- Expected
+ Received
Object {
"auditTrail": Object {
- "effectivePolicies": Object {
- "resource.document.v1": Object {
- "driver": "disk",
- "source": "document.yaml",
- },
- "resource.document.v1/test": Object {
- "driver": "disk",
- "source": "test/document.yaml",
- },
- },
+ "effectivePolicies": Object {},
},
"callId": "01JHFK9GGQR1ZARP5EVNJX2RFB",
"metadata": Object {
"foo": Array [
"bar",
],
},
"method": Object {
"error": undefined,
"input": Object {
"action": "edit",
"auxData": Object {
"jwt": Object {
"delete": true,
},
},
"principal": Object {
"attr": Object {
"country": Object {
"alpha2": "",
"alpha3": "NZL",
},
},
"id": "[email protected]",
"policyVersion": "1",
"roles": Array [
"USER",
],
"scope": "test",
},
"requestId": "plan-resources-unconditional",
"resource": Object {
"attr": Object {
"owner": "[email protected]",
},
"kind": "document",
"policyVersion": "1",
"scope": "test",
},
},
"name": "PlanResources",
"output": Object {
"action": "edit",
"kind": "KIND_ALWAYS_ALLOWED",
"policyVersion": "1",
"requestId": "plan-resources-unconditional",
"scope": "test",
- "validationErrors": Array [
- Object {
- "message": "does not match pattern '[A-Z]{2}'",
- "path": "/country/alpha2",
- "source": "SOURCE_PRINCIPAL",
- },
- ],
+ "validationErrors": Array [],
},
},
"peer": Object {
"address": StringMatching /^\d{1,3}(?:\.\d{1,3}){3}:\d{1,5}$/,
"authInfo": "",
"forwardedFor": StringContaining "1.1.1.1, 2.2.2.2, 3.3.3.3",
"userAgent": "cerbos-sdk-javascript-grpc/0.19.0 grpc-node-js/1.12.5",
},
"timestamp": Any<Date>,
}
❯ src/matrix-cerbos/admin.test.ts:586:35
❯ Module.retry src/helpers.ts:266:14
❯ retryUntilFound src/matrix-cerbos/admin.test.ts:494:13
❯ expectListDecisionLogEntries src/matrix-cerbos/admin.test.ts:579:15
❯ src/matrix-cerbos/admin.test.ts:599:17
|
src/matrix-cerbos/admin.test.ts > Client > admin > 'gRPC' > audit logs > planResources (unconditional) > listDecisionLogEntries > since > returns entries within a duration:
private/test/src/matrix-cerbos/admin.test.ts#L586
AssertionError: expected { …(6) } to deeply equal { …(6) }
- Expected
+ Received
Object {
"auditTrail": Object {
- "effectivePolicies": Object {
- "resource.document.v1": Object {
- "driver": "disk",
- "source": "document.yaml",
- },
- "resource.document.v1/test": Object {
- "driver": "disk",
- "source": "test/document.yaml",
- },
- },
+ "effectivePolicies": Object {},
},
"callId": "01JHFK9GGQR1ZARP5EVNJX2RFB",
"metadata": Object {
"foo": Array [
"bar",
],
},
"method": Object {
"error": undefined,
"input": Object {
"action": "edit",
"auxData": Object {
"jwt": Object {
"delete": true,
},
},
"principal": Object {
"attr": Object {
"country": Object {
"alpha2": "",
"alpha3": "NZL",
},
},
"id": "[email protected]",
"policyVersion": "1",
"roles": Array [
"USER",
],
"scope": "test",
},
"requestId": "plan-resources-unconditional",
"resource": Object {
"attr": Object {
"owner": "[email protected]",
},
"kind": "document",
"policyVersion": "1",
"scope": "test",
},
},
"name": "PlanResources",
"output": Object {
"action": "edit",
"kind": "KIND_ALWAYS_ALLOWED",
"policyVersion": "1",
"requestId": "plan-resources-unconditional",
"scope": "test",
- "validationErrors": Array [
- Object {
- "message": "does not match pattern '[A-Z]{2}'",
- "path": "/country/alpha2",
- "source": "SOURCE_PRINCIPAL",
- },
- ],
+ "validationErrors": Array [],
},
},
"peer": Object {
"address": StringMatching /^\d{1,3}(?:\.\d{1,3}){3}:\d{1,5}$/,
"authInfo": "",
"forwardedFor": StringContaining "1.1.1.1, 2.2.2.2, 3.3.3.3",
"userAgent": "cerbos-sdk-javascript-grpc/0.19.0 grpc-node-js/1.12.5",
},
"timestamp": Any<Date>,
}
❯ src/matrix-cerbos/admin.test.ts:586:35
❯ Module.retry src/helpers.ts:266:14
❯ retryUntilFound src/matrix-cerbos/admin.test.ts:494:13
❯ expectListDecisionLogEntries src/matrix-cerbos/admin.test.ts:579:15
❯ src/matrix-cerbos/admin.test.ts:607:17
|
src/matrix-cerbos/admin.test.ts > Client > admin > 'gRPC' > audit logs > planResources (unconditional) > listDecisionLogEntries > tail > returns the last N entries:
private/test/src/matrix-cerbos/admin.test.ts#L586
AssertionError: expected { …(6) } to deeply equal { …(6) }
- Expected
+ Received
Object {
"auditTrail": Object {
- "effectivePolicies": Object {
- "resource.document.v1": Object {
- "driver": "disk",
- "source": "document.yaml",
- },
- "resource.document.v1/test": Object {
- "driver": "disk",
- "source": "test/document.yaml",
- },
- },
+ "effectivePolicies": Object {},
},
"callId": "01JHFK9GGQR1ZARP5EVNJX2RFB",
"metadata": Object {
"foo": Array [
"bar",
],
},
"method": Object {
"error": undefined,
"input": Object {
"action": "edit",
"auxData": Object {
"jwt": Object {
"delete": true,
},
},
"principal": Object {
"attr": Object {
"country": Object {
"alpha2": "",
"alpha3": "NZL",
},
},
"id": "[email protected]",
"policyVersion": "1",
"roles": Array [
"USER",
],
"scope": "test",
},
"requestId": "plan-resources-unconditional",
"resource": Object {
"attr": Object {
"owner": "[email protected]",
},
"kind": "document",
"policyVersion": "1",
"scope": "test",
},
},
"name": "PlanResources",
"output": Object {
"action": "edit",
"kind": "KIND_ALWAYS_ALLOWED",
"policyVersion": "1",
"requestId": "plan-resources-unconditional",
"scope": "test",
- "validationErrors": Array [
- Object {
- "message": "does not match pattern '[A-Z]{2}'",
- "path": "/country/alpha2",
- "source": "SOURCE_PRINCIPAL",
- },
- ],
+ "validationErrors": Array [],
},
},
"peer": Object {
"address": StringMatching /^\d{1,3}(?:\.\d{1,3}){3}:\d{1,5}$/,
"authInfo": "",
"forwardedFor": StringContaining "1.1.1.1, 2.2.2.2, 3.3.3.3",
"userAgent": "cerbos-sdk-javascript-grpc/0.19.0 grpc-node-js/1.12.5",
},
"timestamp": Any<Date>,
}
❯ src/matrix-cerbos/admin.test.ts:586:35
❯ Module.retry src/helpers.ts:266:14
❯ retryUntilFound src/matrix-cerbos/admin.test.ts:494:13
❯ expectListDecisionLogEntries src/matrix-cerbos/admin.test.ts:579:15
❯ src/matrix-cerbos/admin.test.ts:615:17
|
src/matrix-cerbos/admin.test.ts > Client > admin > 'gRPC' > audit logs > planResources (conditional) > getDecisionLogEntry > looks up an decision log entry by call ID:
private/test/src/matrix-cerbos/admin.test.ts#L523
AssertionError: expected { …(6) } to deeply equal { …(6) }
- Expected
+ Received
Object {
"auditTrail": Object {
- "effectivePolicies": Object {
- "resource.document.v1": Object {
- "driver": "disk",
- "source": "document.yaml",
- },
- "resource.document.v1/test": Object {
- "driver": "disk",
- "source": "test/document.yaml",
- },
- },
+ "effectivePolicies": Object {},
},
"callId": "01JHFK9H7JZ81BB6G0V7M483R7",
"metadata": Object {
"foo": Array [
"bar",
],
},
"method": Object {
"error": undefined,
"input": Object {
"action": "edit",
"auxData": Object {
"jwt": Object {
"delete": true,
},
},
"principal": Object {
"attr": Object {
"country": Object {
"alpha2": "",
"alpha3": "NZL",
},
},
"id": "[email protected]",
"policyVersion": "1",
"roles": Array [
"USER",
],
"scope": "test",
},
"requestId": "plan-resources-unconditional",
"resource": Object {
"attr": Object {},
"kind": "document",
"policyVersion": "1",
"scope": "test",
},
},
"name": "PlanResources",
"output": Object {
"action": "edit",
"condition": PlanExpression {
"operands": Array [
PlanExpressionVariable {
"name": "request.resource.attr.owner",
},
PlanExpressionValue {
"value": "[email protected]",
},
],
"operator": "eq",
},
"conditionString": "(eq request.resource.attr.owner \"[email protected]\")",
"kind": "KIND_CONDITIONAL",
"policyVersion": "1",
"requestId": "plan-resources-unconditional",
"scope": "test",
- "validationErrors": Array [
- Object {
- "message": "does not match pattern '[A-Z]{2}'",
- "path": "/country/alpha2",
- "source": "SOURCE_PRINCIPAL",
- },
- ],
+ "validationErrors": Array [],
},
},
"peer": Object {
"address": StringMatching /^\d{1,3}(?:\.\d{1,3}){3}:\d{1,5}$/,
"authInfo": "",
"forwardedFor": StringContaining "1.1.1.1, 2.2.2.2, 3.3.3.3",
"userAgent": "cerbos-sdk-javascript-grpc/0.19.0 grpc-node-js/1.12.5",
},
"timestamp": Any<Date>,
}
❯ src/matrix-cerbos/admin.test.ts:523:31
❯ Module.retry src/helpers.ts:266:14
❯ retryUntilFound src/matrix-cerbos/admin.test.ts:494:13
❯ src/matrix-cerbos/admin.test.ts:518:15
|
src/matrix-cerbos/admin.test.ts > Client > admin > 'gRPC' > audit logs > planResources (conditional) > listDecisionLogEntries > between > returns entries between timestamps:
private/test/src/matrix-cerbos/admin.test.ts#L586
AssertionError: expected { …(6) } to deeply equal { …(6) }
- Expected
+ Received
Object {
"auditTrail": Object {
- "effectivePolicies": Object {
- "resource.document.v1": Object {
- "driver": "disk",
- "source": "document.yaml",
- },
- "resource.document.v1/test": Object {
- "driver": "disk",
- "source": "test/document.yaml",
- },
- },
+ "effectivePolicies": Object {},
},
"callId": "01JHFK9H7JZ81BB6G0V7M483R7",
"metadata": Object {
"foo": Array [
"bar",
],
},
"method": Object {
"error": undefined,
"input": Object {
"action": "edit",
"auxData": Object {
"jwt": Object {
"delete": true,
},
},
"principal": Object {
"attr": Object {
"country": Object {
"alpha2": "",
"alpha3": "NZL",
},
},
"id": "[email protected]",
"policyVersion": "1",
"roles": Array [
"USER",
],
"scope": "test",
},
"requestId": "plan-resources-unconditional",
"resource": Object {
"attr": Object {},
"kind": "document",
"policyVersion": "1",
"scope": "test",
},
},
"name": "PlanResources",
"output": Object {
"action": "edit",
"condition": PlanExpression {
"operands": Array [
PlanExpressionVariable {
"name": "request.resource.attr.owner",
},
PlanExpressionValue {
"value": "[email protected]",
},
],
"operator": "eq",
},
"conditionString": "(eq request.resource.attr.owner \"[email protected]\")",
"kind": "KIND_CONDITIONAL",
"policyVersion": "1",
"requestId": "plan-resources-unconditional",
"scope": "test",
- "validationErrors": Array [
- Object {
- "message": "does not match pattern '[A-Z]{2}'",
- "path": "/country/alpha2",
- "source": "SOURCE_PRINCIPAL",
- },
- ],
+ "validationErrors": Array [],
},
},
"peer": Object {
"address": StringMatching /^\d{1,3}(?:\.\d{1,3}){3}:\d{1,5}$/,
"authInfo": "",
"forwardedFor": StringContaining "1.1.1.1, 2.2.2.2, 3.3.3.3",
"userAgent": "cerbos-sdk-javascript-grpc/0.19.0 grpc-node-js/1.12.5",
},
"timestamp": Any<Date>,
}
❯ src/matrix-cerbos/admin.test.ts:586:35
❯ Module.retry src/helpers.ts:266:14
❯ retryUntilFound src/matrix-cerbos/admin.test.ts:494:13
❯ expectListDecisionLogEntries src/matrix-cerbos/admin.test.ts:579:15
❯ src/matrix-cerbos/admin.test.ts:599:17
|
src/matrix-cerbos/admin.test.ts > Client > admin > 'gRPC' > audit logs > planResources (conditional) > listDecisionLogEntries > since > returns entries within a duration:
private/test/src/matrix-cerbos/admin.test.ts#L586
AssertionError: expected { …(6) } to deeply equal { …(6) }
- Expected
+ Received
Object {
"auditTrail": Object {
- "effectivePolicies": Object {
- "resource.document.v1": Object {
- "driver": "disk",
- "source": "document.yaml",
- },
- "resource.document.v1/test": Object {
- "driver": "disk",
- "source": "test/document.yaml",
- },
- },
+ "effectivePolicies": Object {},
},
"callId": "01JHFK9H7JZ81BB6G0V7M483R7",
"metadata": Object {
"foo": Array [
"bar",
],
},
"method": Object {
"error": undefined,
"input": Object {
"action": "edit",
"auxData": Object {
"jwt": Object {
"delete": true,
},
},
"principal": Object {
"attr": Object {
"country": Object {
"alpha2": "",
"alpha3": "NZL",
},
},
"id": "[email protected]",
"policyVersion": "1",
"roles": Array [
"USER",
],
"scope": "test",
},
"requestId": "plan-resources-unconditional",
"resource": Object {
"attr": Object {},
"kind": "document",
"policyVersion": "1",
"scope": "test",
},
},
"name": "PlanResources",
"output": Object {
"action": "edit",
"condition": PlanExpression {
"operands": Array [
PlanExpressionVariable {
"name": "request.resource.attr.owner",
},
PlanExpressionValue {
"value": "[email protected]",
},
],
"operator": "eq",
},
"conditionString": "(eq request.resource.attr.owner \"[email protected]\")",
"kind": "KIND_CONDITIONAL",
"policyVersion": "1",
"requestId": "plan-resources-unconditional",
"scope": "test",
- "validationErrors": Array [
- Object {
- "message": "does not match pattern '[A-Z]{2}'",
- "path": "/country/alpha2",
- "source": "SOURCE_PRINCIPAL",
- },
- ],
+ "validationErrors": Array [],
},
},
"peer": Object {
"address": StringMatching /^\d{1,3}(?:\.\d{1,3}){3}:\d{1,5}$/,
"authInfo": "",
"forwardedFor": StringContaining "1.1.1.1, 2.2.2.2, 3.3.3.3",
"userAgent": "cerbos-sdk-javascript-grpc/0.19.0 grpc-node-js/1.12.5",
},
"timestamp": Any<Date>,
}
❯ src/matrix-cerbos/admin.test.ts:586:35
❯ Module.retry src/helpers.ts:266:14
❯ retryUntilFound src/matrix-cerbos/admin.test.ts:494:13
❯ expectListDecisionLogEntries src/matrix-cerbos/admin.test.ts:579:15
❯ src/matrix-cerbos/admin.test.ts:607:17
|
src/matrix-cerbos/admin.test.ts > Client > admin > 'gRPC' > audit logs > planResources (conditional) > listDecisionLogEntries > tail > returns the last N entries:
private/test/src/matrix-cerbos/admin.test.ts#L586
AssertionError: expected { …(6) } to deeply equal { …(6) }
- Expected
+ Received
Object {
"auditTrail": Object {
- "effectivePolicies": Object {
- "resource.document.v1": Object {
- "driver": "disk",
- "source": "document.yaml",
- },
- "resource.document.v1/test": Object {
- "driver": "disk",
- "source": "test/document.yaml",
- },
- },
+ "effectivePolicies": Object {},
},
"callId": "01JHFK9H7JZ81BB6G0V7M483R7",
"metadata": Object {
"foo": Array [
"bar",
],
},
"method": Object {
"error": undefined,
"input": Object {
"action": "edit",
"auxData": Object {
"jwt": Object {
"delete": true,
},
},
"principal": Object {
"attr": Object {
"country": Object {
"alpha2": "",
"alpha3": "NZL",
},
},
"id": "[email protected]",
"policyVersion": "1",
"roles": Array [
"USER",
],
"scope": "test",
},
"requestId": "plan-resources-unconditional",
"resource": Object {
"attr": Object {},
"kind": "document",
"policyVersion": "1",
"scope": "test",
},
},
"name": "PlanResources",
"output": Object {
"action": "edit",
"condition": PlanExpression {
"operands": Array [
PlanExpressionVariable {
"name": "request.resource.attr.owner",
},
PlanExpressionValue {
"value": "[email protected]",
},
],
"operator": "eq",
},
"conditionString": "(eq request.resource.attr.owner \"[email protected]\")",
"kind": "KIND_CONDITIONAL",
"policyVersion": "1",
"requestId": "plan-resources-unconditional",
"scope": "test",
- "validationErrors": Array [
- Object {
- "message": "does not match pattern '[A-Z]{2}'",
- "path": "/country/alpha2",
- "source": "SOURCE_PRINCIPAL",
- },
- ],
+ "validationErrors": Array [],
},
},
"peer": Object {
"address": StringMatching /^\d{1,3}(?:\.\d{1,3}){3}:\d{1,5}$/,
"authInfo": "",
"forwardedFor": StringContaining "1.1.1.1, 2.2.2.2, 3.3.3.3",
"userAgent": "cerbos-sdk-javascript-grpc/0.19.0 grpc-node-js/1.12.5",
},
"timestamp": Any<Date>,
}
❯ src/matrix-cerbos/admin.test.ts:586:35
❯ Module.retry src/helpers.ts:266:14
❯ retryUntilFound src/matrix-cerbos/admin.test.ts:494:13
❯ expectListDecisionLogEntries src/matrix-cerbos/admin.test.ts:579:15
❯ src/matrix-cerbos/admin.test.ts:615:17
|
src/matrix-cerbos/admin.test.ts > Client > admin > 'HTTP' > audit logs > planResources (unconditional) > getDecisionLogEntry > looks up an decision log entry by call ID:
private/test/src/matrix-cerbos/admin.test.ts#L523
AssertionError: expected { …(6) } to deeply equal { …(6) }
- Expected
+ Received
Object {
"auditTrail": Object {
- "effectivePolicies": Object {
- "resource.document.v1": Object {
- "driver": "disk",
- "source": "document.yaml",
- },
- "resource.document.v1/test": Object {
- "driver": "disk",
- "source": "test/document.yaml",
- },
- },
+ "effectivePolicies": Object {},
},
"callId": "01JHFK9PG745CZYX70WJNC6SR4",
"metadata": Object {
"foo": Array [
"bar",
],
},
"method": Object {
"error": undefined,
"input": Object {
"action": "edit",
"auxData": Object {
"jwt": Object {
"delete": true,
},
},
"principal": Object {
"attr": Object {
"country": Object {
"alpha2": "",
"alpha3": "NZL",
},
},
"id": "[email protected]",
"policyVersion": "1",
"roles": Array [
"USER",
],
"scope": "test",
},
"requestId": "plan-resources-unconditional",
"resource": Object {
"attr": Object {
"owner": "[email protected]",
},
"kind": "document",
"policyVersion": "1",
"scope": "test",
},
},
"name": "PlanResources",
"output": Object {
"action": "edit",
"kind": "KIND_ALWAYS_ALLOWED",
"policyVersion": "1",
"requestId": "plan-resources-unconditional",
"scope": "test",
- "validationErrors": Array [
- Object {
- "message": "does not match pattern '[A-Z]{2}'",
- "path": "/country/alpha2",
- "source": "SOURCE_PRINCIPAL",
- },
- ],
+ "validationErrors": Array [],
},
},
"peer": Object {
"address": StringMatching /^\d{1,3}(?:\.\d{1,3}){3}:\d{1,5}$/,
"authInfo": "",
"forwardedFor": StringContaining "1.1.1.1, 2.2.2.2, 3.3.3.3",
"userAgent": "cerbos-sdk-javascript-http/0.20.0",
},
"timestamp": Any<Date>,
}
❯ src/matrix-cerbos/admin.test.ts:523:31
❯ Module.retry src/helpers.ts:266:14
❯ retryUntilFound src/matrix-cerbos/admin.test.ts:494:13
❯ src/matrix-cerbos/admin.test.ts:518:15
|
src/matrix-cerbos/admin.test.ts > Client > admin > 'HTTP' > audit logs > planResources (unconditional) > listDecisionLogEntries > between > returns entries between timestamps:
private/test/src/matrix-cerbos/admin.test.ts#L586
AssertionError: expected { …(6) } to deeply equal { …(6) }
- Expected
+ Received
Object {
"auditTrail": Object {
- "effectivePolicies": Object {
- "resource.document.v1": Object {
- "driver": "disk",
- "source": "document.yaml",
- },
- "resource.document.v1/test": Object {
- "driver": "disk",
- "source": "test/document.yaml",
- },
- },
+ "effectivePolicies": Object {},
},
"callId": "01JHFK9PG745CZYX70WJNC6SR4",
"metadata": Object {
"foo": Array [
"bar",
],
},
"method": Object {
"error": undefined,
"input": Object {
"action": "edit",
"auxData": Object {
"jwt": Object {
"delete": true,
},
},
"principal": Object {
"attr": Object {
"country": Object {
"alpha2": "",
"alpha3": "NZL",
},
},
"id": "[email protected]",
"policyVersion": "1",
"roles": Array [
"USER",
],
"scope": "test",
},
"requestId": "plan-resources-unconditional",
"resource": Object {
"attr": Object {
"owner": "[email protected]",
},
"kind": "document",
"policyVersion": "1",
"scope": "test",
},
},
"name": "PlanResources",
"output": Object {
"action": "edit",
"kind": "KIND_ALWAYS_ALLOWED",
"policyVersion": "1",
"requestId": "plan-resources-unconditional",
"scope": "test",
- "validationErrors": Array [
- Object {
- "message": "does not match pattern '[A-Z]{2}'",
- "path": "/country/alpha2",
- "source": "SOURCE_PRINCIPAL",
- },
- ],
+ "validationErrors": Array [],
},
},
"peer": Object {
"address": StringMatching /^\d{1,3}(?:\.\d{1,3}){3}:\d{1,5}$/,
"authInfo": "",
"forwardedFor": StringContaining "1.1.1.1, 2.2.2.2, 3.3.3.3",
"userAgent": "cerbos-sdk-javascript-http/0.20.0",
},
"timestamp": Any<Date>,
}
❯ src/matrix-cerbos/admin.test.ts:586:35
❯ Module.retry src/helpers.ts:266:14
❯ retryUntilFound src/matrix-cerbos/admin.test.ts:494:13
❯ expectListDecisionLogEntries src/matrix-cerbos/admin.test.ts:579:15
❯ src/matrix-cerbos/admin.test.ts:599:17
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Generate test matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (React 19.0.0 | Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (React 19.0.0 | Node 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (React 19.0.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (React 19.1.0-canary-540efebc-20250112 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (React 19.0.0 | Node 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (React 18.1.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (React 18.3.1 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (React 18.2.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.41.0-prerelease | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (React 18.0.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.40.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.39.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.40.0 | Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.40.0 | Node 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.38.1 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.37.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.36.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.35.1 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.34.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.33.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.32.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.31.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.29.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.30.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.28.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.27.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.26.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.25.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.23.1 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.24.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.21.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.22.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.19.1 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.17.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.20.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.18.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.16.0 | Node 23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Node 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Node 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Cerbos 0.40.0 | Node 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check test results
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|