mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
clean up preferred locale codes after tests
This commit is contained in:
@@ -99,6 +99,7 @@ describe('iD.coreLocalizer', function() {
|
||||
zh: true,
|
||||
'zh-CN': true,
|
||||
};
|
||||
|
||||
it.each([
|
||||
/* [requested, matching] */
|
||||
[[], ['en']],
|
||||
@@ -114,5 +115,9 @@ describe('iD.coreLocalizer', function() {
|
||||
localiser.preferredLocaleCodes(requested);
|
||||
expect(localiser.localesToUseFrom(SUPPORTED_LANGS)).toStrictEqual(matching);
|
||||
});
|
||||
|
||||
after(function() {
|
||||
iD.coreLocalizer().preferredLocaleCodes([]);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user