mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Update Eslint config, add new rule and handle issue (#3068)
This commit is contained in:
committed by
GitHub
parent
d276a7ddb9
commit
ab0876f07a
@@ -188,7 +188,7 @@ describe("Translator", () => {
|
||||
const file = "translation_test.json";
|
||||
|
||||
XMLHttpRequest.prototype.send = () => {
|
||||
throw "Shouldn't load files";
|
||||
throw new Error("Shouldn't load files");
|
||||
};
|
||||
|
||||
Translator.translationsFallback[mmm.name] = {
|
||||
|
Reference in New Issue
Block a user