UNPKG

unleash-server

Version:

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

14 lines 477 B
import { validateSchema } from '../validate.js'; test('featureTypeSchema', () => { const data = { description: '', id: '', name: '', lifetimeDays: 0, }; expect(validateSchema('#/components/schemas/featureTypeSchema', data)).toBeUndefined(); }); test('featureTypeSchema empty', () => { expect(validateSchema('#/components/schemas/featureTypeSchema', {})).toMatchSnapshot(); }); //# sourceMappingURL=feature-type-schema.test.js.map