diff --git a/packages/playground/resolve/__tests__/resolve.spec.ts b/packages/playground/resolve/__tests__/resolve.spec.ts index 0b0f1c7fdc8896..b94be689371b22 100644 --- a/packages/playground/resolve/__tests__/resolve.spec.ts +++ b/packages/playground/resolve/__tests__/resolve.spec.ts @@ -89,3 +89,9 @@ test('resolve.mainFields', async () => { test('resolve.conditions', async () => { expect(await page.textContent('.custom-condition')).toMatch('[success]') }) + +test('resolve package that contains # in path', async () => { + expect(await page.textContent('.path-contains-sharp-symbol')).toMatch( + '[success]' + ) +}) diff --git a/packages/playground/resolve/index.html b/packages/playground/resolve/index.html index aada0bd1bdd972..a121c5c8a68ca1 100644 --- a/packages/playground/resolve/index.html +++ b/packages/playground/resolve/index.html @@ -60,6 +60,9 @@

resolve.mainFields

resolve.conditions

+

resolve package that contains # in path

+

+