diff --git a/test/config/ts-node.test.ts b/test/config/ts-node.test.ts index 801620a0b..83ba9861b 100644 --- a/test/config/ts-node.test.ts +++ b/test/config/ts-node.test.ts @@ -111,6 +111,8 @@ describe('tsPath', () => { const stderrStub = sandbox.stub(write, 'stderr') const result = await configTsNode.tsPath(root, tsSource) expect(result).to.equal(join(root, tsSource)) - expect(stripAnsi(stderrStub.firstCall.firstArg).split('\n').join(' ')).to.include('Falling back to compiled source') + expect(stripAnsi(stderrStub.firstCall.firstArg).split('\n').join(' ')).to.include( + 'Warning: Could not parse tsconfig.json', + ) }) })