]> git.proxmox.com Git - mirror_novnc.git/commit
Avoid running tests on l10n singleton
authorPierre Ossman <ossman@cendio.se>
Thu, 6 Apr 2023 09:06:06 +0000 (11:06 +0200)
committerPierre Ossman <ossman@cendio.se>
Thu, 6 Apr 2023 09:11:47 +0000 (11:11 +0200)
commit681632bc9fc38b4e4f0f9bf4a6b7d675fb991e70
treee8aaadd72b70d689a55779318807dd6dd32d951d
parenta4453c9a260b6c4003c0ebd0aa460f61b93a499a
Avoid running tests on l10n singleton

We want tests to be independent, so we cannot have them modify a shared
state, such as the l10n singleton. Make sure each test instantiates its
own object instead.
tests/test.localization.js