Skip to content

Commit

Permalink
- Fixed the build (this time hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
heath-freenome committed Jun 24, 2022
1 parent edc774b commit edfb52c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/validator-ajv6/test/createAjvInstance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ describe('createAjvInstance()', () => {
expect(ajv.addFormat).toHaveBeenNthCalledWith(2, 'color', COLOR_FORMAT_REGEX);
});
it('the remaining addForma() calls were for custom formats', () => {
Object.keys(CUSTOM_OPTIONS!.customFormats).forEach((key: string, i: number) => {
expect(ajv.addFormat).toHaveBeenNthCalledWith(3 + i, key, CUSTOM_OPTIONS!.customFormats[key]);
Object.keys(CUSTOM_OPTIONS.customFormats!).forEach((key: string, i: number) => {
expect(ajv.addFormat).toHaveBeenNthCalledWith(3 + i, key, CUSTOM_OPTIONS.customFormats![key]);
});
});
it('addMetaSchema was not called', () => {
Expand Down

0 comments on commit edfb52c

Please sign in to comment.