1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00
unleash.unleash/src/lib/openapi/spec/users-groups-base-schema.test.ts

16 lines
397 B
TypeScript
Raw Normal View History

import { validateSchema } from '../validate';
import { UsersGroupsBaseSchema } from './users-groups-base-schema';
test('usersGroupsBaseSchema', () => {
const data: UsersGroupsBaseSchema = {
users: [
{
id: 1,
},
],
};
expect(
validateSchema('#/components/schemas/usersGroupsBaseSchema', data),
).toBeUndefined();
});