jsunit: Add proper lang tag to document

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-12-29 08:32:00 +01:00
parent c7a320d880
commit 7f52754fe8
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ window.Snap.prototype = {
};
window.isPhantom = /phantom/i.test(navigator.userAgent);
document.documentElement.lang = navigator.language;
// global setup for all tests
(function setupTests() {