mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
cf4fc2303b
Introduces an instance stats service exposing usage metrics of the Unleash installation.
14 lines
378 B
TypeScript
14 lines
378 B
TypeScript
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();
|
|
});
|