How to use the uniforms-bridge-simple-schema-2.SimpleSchema2Bridge.check function in uniforms-bridge-simple-schema-2

To help you get started, we’ve selected a few uniforms-bridge-simple-schema-2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vazco / uniforms / packages / uniforms-bridge-simple-schema-2 / __tests__ / SimpleSchema2Bridge.ts View on Github external
it('works correctly with schema', () => {
      expect(SimpleSchema2Bridge.check(schema)).toBeTruthy();
    });
github vazco / uniforms / packages / uniforms-bridge-simple-schema-2 / __tests__ / SimpleSchema2Bridge.ts View on Github external
it(`works correctly without '${method}'`, () => {
        expect(
          SimpleSchema2Bridge.check({ ...schema, [method]: null }),
        ).not.toBeTruthy();
      });
    });

uniforms-bridge-simple-schema-2

SimpleSchema 2 bridge for uniforms.

MIT
Latest version published 9 months ago

Package Health Score

55 / 100
Full package analysis