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/users-groups-base-schema.test.ts
sjaanus 5f8b88aa0b
Grouping access endpoing (#1858)
* Grouping access endpoing

* Add username
2022-07-26 11:39:55 +00:00

16 lines
397 B
TypeScript

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();
});