Skip to content

Commit a11810a

Browse files
committed
fixed dynamic imports unit test
1 parent 8b34bba commit a11810a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

packages/qwik/src/optimizer/src/plugins/vite.unit.ts

+10-1
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,15 @@ suite('convertManifestToBundleGraph', () => {
478478
},
479479
} as Record<string, QwikBundle>,
480480
} as QwikManifest;
481-
expect(convertManifestToBundleGraph(manifest)).toEqual(['a.js', 2, 'b.js', 'c.js']);
481+
expect(convertManifestToBundleGraph(manifest)).toEqual([
482+
'a.js',
483+
4,
484+
-1,
485+
7,
486+
'b.js',
487+
-1,
488+
7,
489+
'c.js',
490+
]);
482491
});
483492
});

0 commit comments

Comments
 (0)