Skip to content

Commit 117797b

Browse files
committed
chore: update
1 parent 4e6e2f1 commit 117797b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/integration/dts/index.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -539,9 +539,7 @@ describe('dts when build: true', () => {
539539
const stdoutOutput = result.stdout ? result.stdout.toString() : '';
540540

541541
expect(result.status).toBe(1);
542-
expect(stdoutOutput).toContain(
543-
'Please set declarationDir: "./dist/esm" in /Users/bytedance/codes/rslib/tests/integration/dts/build/tsconfig/tsconfig.json to keep it same as "dts.distPath" or "output.distPath.root" field in lib config.',
544-
);
542+
expect(stdoutOutput).toContain('Please set declarationDir: "./dist/esm"');
545543
});
546544

547545
test('should clean dts dist files', async () => {

0 commit comments

Comments
 (0)