Skip to content

Commit

Permalink
upgrade to fake-indexeddb v4 (#1995)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstaley committed Mar 13, 2023
1 parent b67e2f0 commit ba2fd69
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
28 changes: 8 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
"eslint": "^8.3.0",
"eslint-config-prettier": "^8.3.0",
"estraverse-fb": "^1.3.2",
"fake-indexeddb": "3.1.8",
"fake-indexeddb": "^4.0.1",
"form-data": "^4.0.0",
"gh-pages": "^5.0.0",
"http-server": "^14.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/setup-globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ if (typeof globalThis.indexedDB !== "object") {
(globalThis as any)[symbol] = require(`fake-indexeddb/lib/${fakeSymbol}`);
});

globalThis.indexedDB = require("fake-indexeddb");
globalThis.indexedDB = require("fake-indexeddb").default;
}

0 comments on commit ba2fd69

Please sign in to comment.