Skip to content

Commit e8ea9ba

Browse files
committed
up
1 parent dba56a7 commit e8ea9ba

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

tests/integration/async-chunks/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ test('should get correct value from async chunks', async () => {
66
const fixturePath = join(__dirname, 'default');
77
const { entryFiles } = await buildAndGetResults({ fixturePath });
88

9-
for (const format of ['esm', 'cjs']) {
9+
for (const format of ['esm', 'cjs'] as const) {
1010
const { foo } = await import(entryFiles[format]);
1111
expect(await foo()).toBe('dynamic');
1212
}

tests/tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
"extends": "@rslib/tsconfig/base",
33
"compilerOptions": {
44
"noEmit": true,
5-
"composite": true
5+
"composite": true,
6+
"allowJs": true
67
},
78
"include": [
89
"e2e/**/*.ts",
10+
"integration/**/**.test.ts",
11+
"integration/**/rslib.config.ts",
12+
"integration/**/rslib.config.js",
913
"benchmark/**/*.ts",
1014
"playwright.config.ts",
1115
"scripts"

0 commit comments

Comments
 (0)