From d6fda9d0f4dadc0c5fa5004c0261a3738119cda7 Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Wed, 9 Oct 2024 20:59:59 -0700 Subject: [PATCH] Fix JSON change of error to Unexpected non-whitespace --- src/powershell.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/powershell.test.ts b/src/powershell.test.ts index f9e5104..a07aacc 100644 --- a/src/powershell.test.ts +++ b/src/powershell.test.ts @@ -48,7 +48,7 @@ describe('jsonParseTransform', () => { await pipeline(source, jsonPipe) } catch (err) { const result = err as Error - expect(result.message).to.match(/Unexpected token :/) + expect(result.message).to.match(/Unexpected non-whitespace character/) } }) })