From 23dfcffb22481bdd2b84e47912b714b0c132f8d3 Mon Sep 17 00:00:00 2001 From: ashika112 <155593080+ashika112@users.noreply.github.com> Date: Thu, 21 Mar 2024 15:21:49 -0700 Subject: [PATCH] Update test message Co-authored-by: Ashwin Kumar --- .../s3/apis/utils/validateStorageOperationInput.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/storage/__tests__/providers/s3/apis/utils/validateStorageOperationInput.test.ts b/packages/storage/__tests__/providers/s3/apis/utils/validateStorageOperationInput.test.ts index 23943c63445..cf9f38318d1 100644 --- a/packages/storage/__tests__/providers/s3/apis/utils/validateStorageOperationInput.test.ts +++ b/packages/storage/__tests__/providers/s3/apis/utils/validateStorageOperationInput.test.ts @@ -42,7 +42,7 @@ describe('validateStorageOperationInput', () => { }); }); - it('should throw an error when input path does not start with a /', () => { + it('should throw an error when input path starts with a /', () => { const input = { path: '/leading-slash-path' }; expect(() => validateStorageOperationInput(input)).toThrow( validationErrorMap[