We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86e1490 commit 2eacb3fCopy full SHA for 2eacb3f
tests/integration/dts/index.test.ts
@@ -385,7 +385,7 @@ describe('dts when bundle: true', () => {
385
try {
386
await buildAndGetResults({ fixturePath, type: 'dts' });
387
} catch (err: any) {
388
- expect(err.message).toMatchInlineSnapshot(
+ expect(stripAnsi(err.message)).toMatchInlineSnapshot(
389
`"Can not find a valid entry for dts.bundle option, please check your entry config."`,
390
);
391
}
0 commit comments