From ed56f225b67c4559ac9047abfa12ced449fef69b Mon Sep 17 00:00:00 2001 From: Giles Roadnight <10414642+Roaders@users.noreply.github.com> Date: Wed, 12 Apr 2023 17:22:26 +0100 Subject: [PATCH] fix catch --- src/helpers/insert-code.helper.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/insert-code.helper.spec.ts b/src/helpers/insert-code.helper.spec.ts index 973622e..77977f2 100644 --- a/src/helpers/insert-code.helper.spec.ts +++ b/src/helpers/insert-code.helper.spec.ts @@ -236,7 +236,7 @@ describe(`(${insertCode.name}) insert-code.helper`, () => { try { await insertCode({ fileContent, filePath: `${sampleDirName}/'originalFilePath.ts` }, createOptions()); - } catch (e) { + } catch (e: any) { error = e; }