forked from MapComplete/MapComplete
refactoring: remove some tests that don't work anymore
This commit is contained in:
parent
ea62b5b7ff
commit
a3242a3c7d
7 changed files with 247 additions and 235 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue