diff --git a/packages/playground/resolve/__tests__/resolve.spec.ts b/packages/playground/resolve/__tests__/resolve.spec.ts index 0bb7c238e77893..0b0f1c7fdc8896 100644 --- a/packages/playground/resolve/__tests__/resolve.spec.ts +++ b/packages/playground/resolve/__tests__/resolve.spec.ts @@ -1,5 +1,9 @@ import { isBuild } from '../../testUtils' +test('bom import', async () => { + expect(await page.textContent('.utf8-bom')).toMatch('[success]') +}) + test('deep import', async () => { expect(await page.textContent('.deep-import')).toMatch('[2,4]') }) diff --git a/packages/playground/resolve/index.html b/packages/playground/resolve/index.html index 722d66de5340ff..aada0bd1bdd972 100644 --- a/packages/playground/resolve/index.html +++ b/packages/playground/resolve/index.html @@ -1,5 +1,8 @@
fail
+Should show [2,4]:fail
@@ -62,6 +65,10 @@