Skip to content

Commit

Permalink
fix(reactant-share): fix testing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed May 24, 2024
1 parent a62102a commit 20b800f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/reactant-share/test/case.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ test('delegate error case0', async () => {

expect(() => {
// @ts-ignore
delegate(client0.instance, 'increaseFunc');
delegate(client0.instance, 'increaseFunc', 0);
}).toThrowError();

const portDetector1 = client0.container.get(PortDetector);
Expand Down Expand Up @@ -600,7 +600,7 @@ test('fork error case0', async () => {

expect(() => {
// @ts-ignore
fork(server.instance, 'increaseFunc');
fork(server.instance, 'increaseFunc', 0);
}).toThrowError();

const portDetector1 = server.container.get(PortDetector);
Expand Down

0 comments on commit 20b800f

Please sign in to comment.