Skip to content

Commit f8be41d

Browse files
- Fixed the build (this time hopefully)
1 parent 35e51b4 commit f8be41d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/validator-ajv6/test/createAjvInstance.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ describe('createAjvInstance()', () => {
6161
expect(ajv.addFormat).toHaveBeenNthCalledWith(2, 'color', COLOR_FORMAT_REGEX);
6262
});
6363
it('the remaining addForma() calls were for custom formats', () => {
64-
Object.keys(CUSTOM_OPTIONS!.customFormats).forEach((key: string, i: number) => {
65-
expect(ajv.addFormat).toHaveBeenNthCalledWith(3 + i, key, CUSTOM_OPTIONS!.customFormats[key]);
64+
Object.keys(CUSTOM_OPTIONS.customFormats).forEach((key: string, i: number) => {
65+
expect(ajv.addFormat).toHaveBeenNthCalledWith(3 + i, key, CUSTOM_OPTIONS.customFormats![key]);
6666
});
6767
});
6868
it('addMetaSchema was not called', () => {

0 commit comments

Comments
 (0)