Skip to content

Commit

Permalink
fix test err
Browse files Browse the repository at this point in the history
  • Loading branch information
gpBlockchain committed Dec 30, 2024
1 parent eb2ba74 commit ea050a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
"@ckb-lumos/light-client": "v0.20.0-alpha.1",
"@ckb-lumos/lumos": "v0.20.0-alpha.1",
"@ckb-lumos/rpc": "v0.20.0-alpha.1",
"@injectivelabs/networks": "^1.14.4",
"@injectivelabs/wallet-ts": "^1.14.4",
"dotenv": "^16.0.1",
"json-rpc": "^0.3.0",
"json-rpc-2.0": "^1.7.0",
"mochawesome-merge": "^4.2.1",
"npm-run-all": "^4.1.5"
},
Expand All @@ -33,7 +29,6 @@
"mocha-chai-jest-snapshot": "^1.1.0",
"mochawesome": "^7.1.3",
"mochawesome-report-generator": "^6.2.0",
"playwright": "^1.49.1",
"prettier": "^2.0.5",
"prettier-plugin-solidity": "^1.0.0-alpha.59",
"solhint": "^3.2.1",
Expand Down
15 changes: 10 additions & 5 deletions test/runners/mocha/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
// typescript config for mocha
{
"compilerOptions": {
// mocha runs in node, which uses commonjs modules
"module": "CommonJs"
}
}
"module": "commonjs",
"target": "es5",
"sourceMap": true,
"resolveJsonModule": true,
"lib": ["ES2015", "DOM"]
},
"exclude": [
"node_modules"
]
}

0 comments on commit ea050a5

Please sign in to comment.