Skip to content

Commit caa3565

Browse files
chore(deps-dev): bump jest-extended from 3.2.4 to 4.0.2 (#381)
* chore(deps-dev): bump jest-extended from 3.2.4 to 4.0.2 Bumps [jest-extended](https://github.com/jest-community/jest-extended) from 3.2.4 to 4.0.2. - [Release notes](https://github.com/jest-community/jest-extended/releases) - [Changelog](https://github.com/jest-community/jest-extended/blob/main/CHANGELOG.md) - [Commits](jest-community/jest-extended@v3.2.4...v4.0.2) --- updated-dependencies: - dependency-name: jest-extended dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore(message-router/js): fix tests --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: kruplm <[email protected]>
1 parent b090f51 commit caa3565

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/messaging/js/composeui-messaging-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"expect": "^29.4.1",
2727
"glob": "^10.3.10",
2828
"jest": "^29.4.2",
29-
"jest-extended": "^3.2.3",
29+
"jest-extended": "^4.0.2",
3030
"rimraf": "^4.4.0",
3131
"rollup": "^3.17.2",
3232
"rollup-plugin-dts": "^5.2.0",

src/messaging/js/composeui-messaging-client/src/client/MessageRouterClient.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ describe("MessageRouterClient", () => {
627627
connection.raiseClose();
628628
await new Promise(process.nextTick);
629629

630-
expect(subscriber.error).toHaveBeenCalledOnceWith(expect.any(Error));
630+
expect(subscriber.error).toHaveBeenCalledExactlyOnceWith(expect.any(Error));
631631
});
632632

633633
it("fails pending requests", async () => {
@@ -657,7 +657,7 @@ describe("MessageRouterClient", () => {
657657
connection.raiseError(err);
658658
await new Promise(process.nextTick);
659659

660-
expect(subscriber.error).toHaveBeenCalledOnceWith(err);
660+
expect(subscriber.error).toHaveBeenCalledExactlyOnceWith(err);
661661
});
662662

663663
it("fails pending requests", async () => {

0 commit comments

Comments
 (0)