Skip to content

Commit 5686d5e

Browse files
test(mf): remove brittle manifest debug assertions
1 parent b289858 commit 5686d5e

File tree

1 file changed

+0
-2
lines changed
  • tests/rspack-test/configCases/container-1-5/manifest-rsc-references

1 file changed

+0
-2
lines changed

tests/rspack-test/configCases/container-1-5/manifest-rsc-references/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ it("should capture RSC references for shared modules by package key", () => {
1212
expect(shared.shareKey).toBe("rsc-shared-key");
1313
expect(shared.rsc).toBeDefined();
1414
expect(shared.rsc.lookup).toBe(shared.shareKey);
15-
expect(Array.isArray(shared.usedIn)).toBe(true);
1615
expect(shared.rsc.moduleType).toBe("client");
1716
expect(shared.rsc.clientReferences).toEqual(
1817
expect.arrayContaining(["SharedClientComponent", "sharedAction", "sharedValue"])
@@ -29,7 +28,6 @@ it("should capture RSC references for exposes by remoteName/exposeKey", () => {
2928
expect(expose.rsc.clientReferences).toEqual(
3029
expect.arrayContaining(["default", "exposedAction"])
3130
);
32-
expect(expose.requires).toContain("shared-rsc");
3331
expect(expose.rsc.serverActions.length).toBeGreaterThan(0);
3432
});
3533

0 commit comments

Comments
 (0)