Skip to content

Commit

Permalink
fix(core i18n): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed Oct 14, 2022
1 parent 35f4202 commit 65f0379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/i18n.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe("I18N", function () {
clock.tick(500);
var _ = i18n.MessageFactory("foobar");
expect(_("foo")).toEqual("bar");
server.restore();
clock.restore();
});

it("handles country specific translations", function () {
Expand All @@ -102,7 +102,7 @@ describe("I18N", function () {
clock.tick(500);
var _ = i18n.MessageFactory("foobar-us");
expect(_("foo")).toEqual("bar-us");
server.restore();
clock.restore();
});
});
});

0 comments on commit 65f0379

Please sign in to comment.