1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-04 11:17:02 +02:00
unleash.unleash/src/lib/openapi/spec/__snapshots__/feature-schema.test.ts.snap
2022-09-06 13:22:41 +02:00

36 lines
864 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`featureSchema constraints 1`] = `
{
"errors": [
{
"instancePath": "/strategies/0/constraints/0",
"keyword": "required",
"message": "must have required property 'operator'",
"params": {
"missingProperty": "operator",
},
"schemaPath": "#/components/schemas/constraintSchema/required",
},
],
"schema": "#/components/schemas/featureSchema",
}
`;
exports[`featureSchema variant override values must be an array 1`] = `
{
"errors": [
{
"instancePath": "/variants/0/overrides/0/values",
"keyword": "type",
"message": "must be array",
"params": {
"type": "array",
},
"schemaPath": "#/components/schemas/overrideSchema/properties/values/type",
},
],
"schema": "#/components/schemas/featureSchema",
}
`;