unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
10 lines • 413 B
JavaScript
import { validateSchema } from '../validate.js';
test('featureTypeCountSchema', () => {
const data = {
type: 'release',
count: 1,
};
expect(validateSchema('#/components/schemas/featureTypeCountSchema', data)).toBeUndefined();
expect(validateSchema('#/components/schemas/featureTypeCountSchema', {})).toMatchSnapshot();
});
//# sourceMappingURL=feature-type-count-schema.test.js.map