mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
5f8b88aa0b
* Grouping access endpoing * Add username
16 lines
397 B
TypeScript
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();
|
|
});
|