chore: Add in a better fetch for testing

This commit is contained in:
Blu-J
2023-06-08 14:58:03 -06:00
parent 58697cc9cc
commit 817913c9df
3 changed files with 55 additions and 87 deletions

View File

@@ -1,7 +1,7 @@
import { Effects } from "../../types"
import { CheckResult } from "./CheckResult"
import { timeoutPromise } from "./index"
import fetch from "node-fetch"
import "isomorphic-fetch"
/**
* This is a helper function to check if a web url is reachable.