mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
14 lines
385 B
TypeScript
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();
|
|
});
|