Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it(`works correctly without '${method}'`, () => {
expect(
SimpleSchemaBridge.check({ ...schema, [method]: null }),
).not.toBeTruthy();
});
});
it('works correctly with schema', () => {
expect(SimpleSchemaBridge.check(schema)).toBeTruthy();
});