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 with schema', () => {
expect(SimpleSchema2Bridge.check(schema)).toBeTruthy();
});
it(`works correctly without '${method}'`, () => {
expect(
SimpleSchema2Bridge.check({ ...schema, [method]: null }),
).not.toBeTruthy();
});
});