Skip to content

feat: add remotePlugin option to control shared module bundling #189

feat: add remotePlugin option to control shared module bundling

feat: add remotePlugin option to control shared module bundling #189

Re-run triggered July 27, 2025 14:34
Status Failure
Total duration 29s
Artifacts

unit-test.yml

on: pull_request
Unit Test Package
22s
Unit Test Package
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Unit Test Package
Process completed with exit code 1.
src/utils/__tests__/normalizeModuleFederationOption.test.ts > normalizeModuleFederationOption > should set default values: src/utils/__tests__/normalizeModuleFederationOption.test.ts#L13
AssertionError: expected { exposes: {}, …(17) } to deeply equal { exposes: {}, …(15) } - Expected + Received Object { "dev": undefined, "dts": undefined, "exposes": Object {}, "filename": "remoteEntry-[hash]", + "getPublicPath": undefined, "ignoreOrigin": false, "implementation": "/home/runner/work/vite/vite/node_modules/.pnpm/@module-federation[email protected]/node_modules/@module-federation/runtime/dist/index.cjs.cjs", "library": undefined, "manifest": false, "name": "test-module", + "remotePlugin": false, "remotes": Object {}, "runtime": undefined, "runtimePlugins": Array [], "shareScope": "default", "shareStrategy": "loaded-first", "shared": Object {}, "virtualModuleDir": "__mf__virtual", } ❯ src/utils/__tests__/normalizeModuleFederationOption.test.ts:13:62