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/) } }) })