1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/openapi/spec/instance-admin-stats-schema.test.ts

14 lines
378 B
TypeScript
Raw Normal View History

import { validateSchema } from '../validate';
import { InstanceAdminStatsSchema } from './instance-admin-stats-schema';
test('instanceAdminStatsSchema', () => {
const data: InstanceAdminStatsSchema = {
instanceId: '123',
users: 0,
};
expect(
validateSchema('#/components/schemas/instanceAdminStatsSchema', data),
).toBeUndefined();
});