unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
18 lines • 598 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const create_response_schema_1 = require("./create-response-schema");
test('createResponseSchema', () => {
expect((0, create_response_schema_1.createResponseSchema)('schemaName')).toMatchInlineSnapshot(`
{
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/schemaName",
},
},
},
"description": "schemaName",
}
`);
});
//# sourceMappingURL=create-response-schema.test.js.map