Skip to content

Commit

Permalink
test against proper localizers
Browse files Browse the repository at this point in the history
  • Loading branch information
dlockhart committed Nov 11, 2024
1 parent ab5611d commit a3ae484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/localize.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ describe('Localize', () => {

it('should throw an error if common resources are not loaded', async() => {
await localizer.ready;
expect(() => localizerCommon.localizeCharacter(':'))
expect(() => localizer.localizeCharacter(':'))
.to.throw('localizeCharacter() cannot be used unless loadCommon in localizeConfig is enabled');
});

Expand Down

0 comments on commit a3ae484

Please sign in to comment.