1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/src/lib/openapi/spec/export-query-schema.test.ts
2023-01-11 15:00:20 +00:00

14 lines
385 B
TypeScript

import { validateSchema } from '../validate';
import { ExportQuerySchema } from './export-query-schema';
test('exportQuerySchema', () => {
const data: ExportQuerySchema = {
environment: 'production',
features: ['firstFeature', 'secondFeature'],
};
expect(
validateSchema('#/components/schemas/exportQuerySchema', data),
).toBeUndefined();
});