unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
21 lines • 696 B
JavaScript
import { validateSchema } from '../validate.js';
test('projectApplicationsSchema', () => {
const data = {
total: 55,
applications: [
{
name: 'my-weba-app',
environments: ['development', 'production'],
instances: ['instance-414122'],
sdks: [
{
name: 'unleash-client-node',
versions: ['4.1.1'],
},
],
},
],
};
expect(validateSchema('#/components/schemas/projectApplicationsSchema', data)).toBeUndefined();
});
//# sourceMappingURL=project-applications-schema.test.js.map