refactoring: remove some tests that don't work anymore

This commit is contained in:
Pieter Vander Vennet 2023-04-13 22:36:07 +02:00
parent ea62b5b7ff
commit a3242a3c7d
7 changed files with 247 additions and 235 deletions

View file

@ -1,6 +1,5 @@
import ScriptUtils from "../scripts/ScriptUtils"
import { Utils } from "../Utils"
import * as fakedom from "fake-dom"
import Locale from "../UI/i18n/Locale"
import { beforeEach } from "vitest"
import { ReferencingWaysMetaTagger } from "../Logic/SimpleMetaTagger"
@ -9,9 +8,6 @@ beforeEach(async () => {
ScriptUtils.fixUtils()
Locale.language.setData("en")
ReferencingWaysMetaTagger.enabled = false
if (fakedom === undefined || window === undefined) {
throw "FakeDom not initialized"
}
// Block internet access
Utils.externalDownloadFunction = async (url) => {