Skip to content

Commit

Permalink
Get TLDR Pages working on ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
sedwards2009 committed Apr 27, 2022
1 parent 267057f commit a0a5774
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion extensions/TLDRPages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "yarn run fetch-data && tsc",
"clean": "shx rm -rf dist data",
"fetch-data": "node build_scripts/download_data.mjs",
"test": "yarn run build && jest"
"test": "yarn run build && yarn node --experimental-vm-modules $(yarn bin jest)"
},
"author": "",
"license": "MIT",
Expand Down
1 change: 0 additions & 1 deletion extensions/TLDRPages/src/PageDatabase.jest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the MIT license which is detailed in the LICENSE.txt file.
*/

import "jest";
import { PageDatabase } from "./PageDatabase.js";

test("Scan", async () => {
Expand Down

0 comments on commit a0a5774

Please sign in to comment.