From 9159ff0bef29134f13a170c56314958e5ca75ac8 Mon Sep 17 00:00:00 2001 From: Aayush Kumar Sahu Date: Fri, 1 Sep 2023 22:18:43 +0530 Subject: [PATCH] fix test --- test/helpers/DiffHelpers.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers/DiffHelpers.spec.ts b/test/helpers/DiffHelpers.spec.ts index 2db956b..0f77080 100644 --- a/test/helpers/DiffHelpers.spec.ts +++ b/test/helpers/DiffHelpers.spec.ts @@ -66,7 +66,7 @@ describe('formatDiffOutput function', () => { test('should throw error when firstDocuments is empty', () => { expect(() => formatDiffOutput(diffRemove as Operation[], {})).toThrowError( // eslint-disable-next-line quotes - new TypeError("Cannot read property 'production' of undefined") + new TypeError("cannot read properties of undefined (reading 'production')") ); });