Merge pull request #1166 from waku-org/chore/remove-jsdom

chore: remove usage of jsdom
This commit is contained in:
fryorcraken.eth 2023-02-10 19:56:21 +11:00 committed by GitHub
commit 5a2a100183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 949 deletions

943
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{ {
"extension": ["ts"], "extension": ["ts"],
"spec": "src/**/*.spec.ts", "spec": "src/**/*.spec.ts",
"require": ["ts-node/register", "isomorphic-fetch", "jsdom-global/register"], "require": ["ts-node/register", "isomorphic-fetch"],
"loader": "ts-node/esm", "loader": "ts-node/esm",
"node-option": [ "node-option": [
"experimental-specifier-resolution=node", "experimental-specifier-resolution=node",

View File

@ -118,8 +118,6 @@
"gh-pages": "^3.2.3", "gh-pages": "^3.2.3",
"ignore-loader": "^0.1.2", "ignore-loader": "^0.1.2",
"isomorphic-fetch": "^3.0.0", "isomorphic-fetch": "^3.0.0",
"jsdom": "^19.0.0",
"jsdom-global": "^3.0.2",
"karma": "^6.4.1", "karma": "^6.4.1",
"karma-chrome-launcher": "^3.1.1", "karma-chrome-launcher": "^3.1.1",
"karma-mocha": "^2.0.1", "karma-mocha": "^2.0.1",

View File

@ -1,7 +1,7 @@
{ {
"extension": ["ts"], "extension": ["ts"],
"spec": "src/**/*.spec.ts", "spec": "src/**/*.spec.ts",
"require": ["ts-node/register", "isomorphic-fetch", "jsdom-global/register"], "require": ["ts-node/register", "isomorphic-fetch"],
"loader": "ts-node/esm", "loader": "ts-node/esm",
"node-option": [ "node-option": [
"experimental-specifier-resolution=node", "experimental-specifier-resolution=node",

View File

@ -1,7 +1,7 @@
{ {
"extension": ["ts"], "extension": ["ts"],
"spec": "src/**/*.spec.ts", "spec": "src/**/*.spec.ts",
"require": ["ts-node/register", "isomorphic-fetch", "jsdom-global/register"], "require": ["ts-node/register", "isomorphic-fetch"],
"loader": "ts-node/esm", "loader": "ts-node/esm",
"node-option": [ "node-option": [
"experimental-specifier-resolution=node", "experimental-specifier-resolution=node",

View File

@ -1,7 +1,7 @@
{ {
"extension": ["ts"], "extension": ["ts"],
"spec": "tests/*.spec.ts", "spec": "tests/*.spec.ts",
"require": ["ts-node/register", "isomorphic-fetch", "jsdom-global/register"], "require": ["ts-node/register", "isomorphic-fetch"],
"loader": "ts-node/esm", "loader": "ts-node/esm",
"node-option": [ "node-option": [
"experimental-specifier-resolution=node", "experimental-specifier-resolution=node",