diff --git a/packages/playground/glob-import/__tests__/glob-import.spec.ts b/packages/playground/glob-import/__tests__/glob-import.spec.ts index 5ce298ad5ab9e6..4377f7961ef229 100644 --- a/packages/playground/glob-import/__tests__/glob-import.spec.ts +++ b/packages/playground/glob-import/__tests__/glob-import.spec.ts @@ -81,7 +81,15 @@ if (!isBuild) { '/dir/a.js': { msg: 'a' }, - ...allResult + ...allResult, + '/dir/index.js': { + modules: { + './a.js': { + msg: 'a' + }, + ...allResult['/dir/index.js'].modules + } + } }, null, 2