UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.

16 lines 580 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const validate_1 = require("../validate"); test('featureTypeSchema', () => { const data = { description: '', id: '', name: '', lifetimeDays: 0, }; expect((0, validate_1.validateSchema)('#/components/schemas/featureTypeSchema', data)).toBeUndefined(); }); test('featureTypeSchema empty', () => { expect((0, validate_1.validateSchema)('#/components/schemas/featureTypeSchema', {})).toMatchSnapshot(); }); //# sourceMappingURL=feature-type-schema.test.js.map