From cbca3a7eda7db52db8e7654c73ce55326544487f Mon Sep 17 00:00:00 2001 From: sapphi-red <49056869+sapphi-red@users.noreply.github.com> Date: Wed, 9 Oct 2024 19:14:17 +0900 Subject: [PATCH] chore: run worker-es tests --- playground/worker/__tests__/es/worker-es.spec.ts | 2 +- vitest.config.e2e.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/playground/worker/__tests__/es/worker-es.spec.ts b/playground/worker/__tests__/es/worker-es.spec.ts index 7933b518a4235a..6d32dd6b516fce 100644 --- a/playground/worker/__tests__/es/worker-es.spec.ts +++ b/playground/worker/__tests__/es/worker-es.spec.ts @@ -111,7 +111,7 @@ describe.runIf(isBuild)('build', () => { test('inlined code generation', async () => { const assetsDir = path.resolve(testDir, 'dist/es/assets') const files = fs.readdirSync(assetsDir) - expect(files.length).toBe(36) + expect(files.length).toBe(41) const index = files.find((f) => f.includes('main-module')) const content = fs.readFileSync(path.resolve(assetsDir, index), 'utf-8') const worker = files.find((f) => f.includes('my-worker')) diff --git a/vitest.config.e2e.ts b/vitest.config.e2e.ts index 363c2be35ad3b0..f101748e3cc3b6 100644 --- a/vitest.config.e2e.ts +++ b/vitest.config.e2e.ts @@ -23,7 +23,6 @@ export default defineConfig({ './playground/lib/**/*.spec.[tj]s', // umd format './playground/object-hooks/**/*.spec.[tj]s', // object hook sequential './playground/optimize-deps/**/*.spec.[tj]s', // https://github.com/rolldown/rolldown/issues/2031 - './playground/worker/__tests__/es/*.spec.[tj]s', // https://github.com/rolldown/rolldown/issues/2208 ] : []), ...defaultExclude,