Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
jsunit: Add proper lang tag to document
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Dec 29, 2020
commit 7f52754fe8a178a80f43682cf7dbd4abb631afcc
1 change: 1 addition & 0 deletions core/js/tests/specHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down