Debian Codegraph @

packages/validator-ajv6/test/utilsTests/schema.test.ts

raw
1 // With Lerna active, the test world has access to the test suite via the symlink
2 import {
3 getDefaultFormStateTest,
4 getDisplayLabelTest,
5 getClosestMatchingOptionTest,
6 getFirstMatchingOptionTest,
7 isFilesArrayTest,
8 isMultiSelectTest,
9 isSelectTest,
10 mergeValidationDataTest,
11 retrieveSchemaTest,
12 sanitizeDataForNewSchemaTest,
13 toIdSchemaTest,
14 toPathSchemaTest,
15 } from '@rjsf/utils/test/schema';
16 import getTestValidator from './getTestValidator';
17
18 const testValidator = getTestValidator({});
19
20 // NOTE: to restrict which tests to run, you can temporarily comment out any tests you aren't needing
21 getDefaultFormStateTest(testValidator);
22 getDisplayLabelTest(testValidator);
23 getClosestMatchingOptionTest(testValidator);
24 getFirstMatchingOptionTest(testValidator);
25 isFilesArrayTest(testValidator);
26 isMultiSelectTest(testValidator);
27 isSelectTest(testValidator);
28 mergeValidationDataTest(testValidator);
29 retrieveSchemaTest(testValidator);
30 sanitizeDataForNewSchemaTest(testValidator);
31 toIdSchemaTest(testValidator);
32 toPathSchemaTest(testValidator);