diff --git a/packages/playground/glob-import/__tests__/glob-import.spec.ts b/packages/playground/glob-import/__tests__/glob-import.spec.ts index 701ad5791ded23..ebdf6c0ab29193 100644 --- a/packages/playground/glob-import/__tests__/glob-import.spec.ts +++ b/packages/playground/glob-import/__tests__/glob-import.spec.ts @@ -66,9 +66,10 @@ const rawResult = { } } -// issue #7307 const relativeRawResult = { - '../dynamic-import/nested/shared.js': 'export const n = 1\n' + '../glob-import/dir/baz.json': { + msg: 'baz' + } } test('should work', async () => { @@ -86,7 +87,6 @@ test('import glob raw', async () => { ) }) -// issue #7307 test('import relative glob raw', async () => { expect(await page.textContent('.relative-glob-raw')).toBe( JSON.stringify(relativeRawResult, null, 2) diff --git a/packages/playground/glob-import/index.html b/packages/playground/glob-import/index.html index 3790e5928ee5eb..64f456aeb4d6a2 100644 --- a/packages/playground/glob-import/index.html +++ b/packages/playground/glob-import/index.html @@ -1,7 +1,7 @@

 

 

-
+