@morpho-org/morpho-test 1.10.5 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/chai.js +2 -0
- package/package.json +5 -2
package/lib/chai.js
CHANGED
|
@@ -27,8 +27,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const chai_1 = __importStar(require("chai"));
|
|
30
|
+
const chai_as_promised_1 = __importDefault(require("chai-as-promised"));
|
|
30
31
|
const sinon_chai_1 = __importDefault(require("sinon-chai"));
|
|
31
32
|
chai_1.default.use(sinon_chai_1.default);
|
|
33
|
+
chai_1.default.use(chai_as_promised_1.default);
|
|
32
34
|
// @ts-ignore
|
|
33
35
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#use_within_json
|
|
34
36
|
BigInt.prototype.toJSON = function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morpho-org/morpho-test",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib"
|
|
@@ -16,12 +16,14 @@
|
|
|
16
16
|
"@nomicfoundation/hardhat-ethers": "^3.0.4",
|
|
17
17
|
"@nomicfoundation/hardhat-network-helpers": "^1.0.9",
|
|
18
18
|
"@types/chai": "^4.3.17",
|
|
19
|
+
"@types/chai-as-promised": "^7.1.2",
|
|
19
20
|
"@types/jest": "^29.5.12",
|
|
20
21
|
"@types/mocha": "^10.0.6",
|
|
21
22
|
"@types/node": "^22.1.0",
|
|
22
23
|
"@types/sinon": "^17.0.3",
|
|
23
24
|
"@types/sinon-chai": "^3.2.12",
|
|
24
25
|
"chai": "^4.5.0",
|
|
26
|
+
"chai-as-promised": "^7.1.2",
|
|
25
27
|
"dotenv": "^16.3.1",
|
|
26
28
|
"ethers": "^6.13.2",
|
|
27
29
|
"hardhat": "^2.20.1",
|
|
@@ -34,6 +36,7 @@
|
|
|
34
36
|
"@nomicfoundation/hardhat-ethers": "^3.0.0",
|
|
35
37
|
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
|
|
36
38
|
"chai": "^4.3.0",
|
|
39
|
+
"chai-as-promised": "^7.1.2",
|
|
37
40
|
"ethers": "^6.0.0",
|
|
38
41
|
"hardhat": "^2.20.0",
|
|
39
42
|
"sinon": "^19.0.2",
|
|
@@ -42,5 +45,5 @@
|
|
|
42
45
|
"publishConfig": {
|
|
43
46
|
"access": "public"
|
|
44
47
|
},
|
|
45
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "415e89c0ffbd7e46d6accf9d01a24adbd370b276"
|
|
46
49
|
}
|