Skip to content

Commit 801798e

Browse files
committed
chore: update ut
1 parent 4007579 commit 801798e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/enhanced/test/configCases/container/manifest/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ it('should reflect expose assets in manifest', () => {
5151
expect.arrayContaining([
5252
expect.objectContaining({
5353
name: 'expose-a',
54+
path: './expose-a',
5455
assets: expect.objectContaining({
5556
js: expect.objectContaining({
5657
sync: ['__federation_expose_expose_a.js'],

packages/enhanced/test/configCases/container/manifest/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
filename: 'container.[chunkhash:8].js',
1616
library: { type: 'commonjs-module' },
1717
exposes: {
18-
'expose-a': './module.js',
18+
'./expose-a': './module.js',
1919
},
2020
remoteType: 'script',
2121
remotes: {

0 commit comments

Comments
 (0)