From fca593d93be28f1cde9756f749ac0ae1f6e0bb3d Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Wed, 31 May 2023 17:37:41 +0000 Subject: [PATCH] Fix unit testing (headless) --- src/headless/public/Terminal.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headless/public/Terminal.test.ts b/src/headless/public/Terminal.test.ts index c7acc818..f869a991 100644 --- a/src/headless/public/Terminal.test.ts +++ b/src/headless/public/Terminal.test.ts @@ -22,7 +22,7 @@ describe('Headless API Tests', function (): void { it('Proposed API check', async () => { term = new Terminal({ allowProposedApi: false }); - throws(() => term.markers, (error) => error.message === 'You must set the allowProposedApi option to true to use proposed API'); + throws(() => term.markers, (error: any) => error.message === 'You must set the allowProposedApi option to true to use proposed API'); }); it('write', async () => {