Skip to content

Commit fdf4f80

Browse files
committed
chore: run worker-es tests
1 parent 9b3e10c commit fdf4f80

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

playground/worker/__tests__/es/worker-es.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ describe.runIf(isBuild)('build', () => {
111111
test('inlined code generation', async () => {
112112
const assetsDir = path.resolve(testDir, 'dist/es/assets')
113113
const files = fs.readdirSync(assetsDir)
114-
expect(files.length).toBe(36)
114+
expect(files.length).toBe(41)
115115
const index = files.find((f) => f.includes('main-module'))
116116
const content = fs.readFileSync(path.resolve(assetsDir, index), 'utf-8')
117117
const worker = files.find((f) => f.includes('my-worker'))

vitest.config.e2e.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export default defineConfig({
2323
'./playground/lib/**/*.spec.[tj]s', // umd format
2424
'./playground/object-hooks/**/*.spec.[tj]s', // object hook sequential
2525
'./playground/optimize-deps/**/*.spec.[tj]s', // https://github.com/rolldown/rolldown/issues/2031
26-
'./playground/worker/__tests__/es/*.spec.[tj]s', // https://github.com/rolldown/rolldown/issues/2208
2726
]
2827
: []),
2928
...defaultExclude,

0 commit comments

Comments
 (0)