From d761b8f7a2ddf74bcf7f879b30b50d9c0a01ae34 Mon Sep 17 00:00:00 2001 From: nanov Date: Sun, 13 Oct 2019 07:29:34 +0300 Subject: [PATCH] fix typo in tests dscriptions --- src/utils/__tests__/openapi.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/__tests__/openapi.test.ts b/src/utils/__tests__/openapi.test.ts index fbc56ea2..9842f101 100644 --- a/src/utils/__tests__/openapi.test.ts +++ b/src/utils/__tests__/openapi.test.ts @@ -356,17 +356,17 @@ describe('Utils', () => { expect(humanizeConstraints(itemConstraintSchema(7, 7))).toContain('7 items'); }); - it('should have a humazined constraint when justMinItems is set, and it is equal to 1', () => { + it('should have a humanized constraint when justMinItems is set, and it is equal to 1', () => { expect(humanizeConstraints(itemConstraintSchema(1))).toContain('non-empty'); }); - it('should have a humazined constraint when multipleOf is set, and it is in format of /^0\\.0*1$/', () => { + it('should have a humanized constraint when multipleOf is set, and it is in format of /^0\\.0*1$/', () => { expect(humanizeConstraints(itemConstraintSchema(undefined, undefined, 0.01))).toContain( 'decimals <= 2 digits', ); }); - it('should have a humazined constraint when multipleOf is set, and it is in format other than /^0\\.0*1$/', () => { + it('should have a humanized constraint when multipleOf is set, and it is in format other than /^0\\.0*1$/', () => { expect(humanizeConstraints(itemConstraintSchema(undefined, undefined, 0.5))).toContain( 'multiple of 0.5', );