fix issue with required schema properties #26
Annotations
2 errors
|
build-and-test
Process completed with exit code 1.
|
|
tests/schemaGenPropTests.test.ts > schema generation proptests > should convert all OpenAPI schemas to commonTypes:
tests/schemaGenPropTests.test.ts#L144
Error: Property failed after 8 tests
{ seed: 192231376, path: "7:1:0:0:4:4:4", endOnFailure: true }
Counterexample: [{"in":{"type":"array","items":{"$ref":"#/components/schemas/%SCHEMANAME%"}}}]
Shrunk 6 time(s)
Hint: Enable verbose mode in order to have the list of all failing values encountered during the run
❯ buildError node_modules/fast-check/lib/check/runner/utils/RunDetailsFormatter.js:156:19
❯ throwIfFailed node_modules/fast-check/lib/check/runner/utils/RunDetailsFormatter.js:165:11
❯ reportRunDetails node_modules/fast-check/lib/check/runner/utils/RunDetailsFormatter.js:178:16
❯ Module.assert node_modules/fast-check/lib/check/runner/Runner.js:61:9
❯ tests/schemaGenPropTests.test.ts:144:12
Caused by: Caused by: AssertionError: expected 'failure' to equal 'success'
Expected: "success"
Received: "failure"
❯ tests/schemaGenPropTests.test.ts:193:49
❯ Property.predicate node_modules/fast-check/lib/check/property/Property.js:14:54
❯ Property.run node_modules/fast-check/lib/check/property/Property.generic.js:43:33
❯ runIt node_modules/fast-check/lib/check/runner/Runner.js:14:30
❯ check node_modules/fast-check/lib/check/runner/Runner.js:54:11
❯ Module.assert node_modules/fast-check/lib/check/runner/Runner.js:57:17
❯ tests/schemaGenPropTests.test.ts:144:12
|