@morpho-org/morpho-test 1.5.4 → 1.5.5

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.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import "chai-as-promised";
2
1
  declare global {
3
2
  namespace Chai {
4
3
  interface ExpectStatic {
@@ -10,3 +9,4 @@ declare global {
10
9
  }
11
10
  }
12
11
  }
12
+ export {};
package/lib/chai.js CHANGED
@@ -27,11 +27,8 @@ 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
- require("chai-as-promised");
31
- const chai_exclude_1 = __importDefault(require("chai-exclude"));
32
30
  const sinon_chai_1 = __importDefault(require("sinon-chai"));
33
31
  chai_1.default.use(sinon_chai_1.default);
34
- chai_1.default.use(chai_exclude_1.default);
35
32
  // @ts-ignore
36
33
  // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#use_within_json
37
34
  BigInt.prototype.toJSON = function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morpho-org/morpho-test",
3
- "version": "1.5.4",
3
+ "version": "1.5.5",
4
4
  "main": "lib/index.js",
5
5
  "files": [
6
6
  "lib"
@@ -12,44 +12,35 @@
12
12
  "build": "tsc --build tsconfig.build.json",
13
13
  "test": "jest"
14
14
  },
15
- "dependencies": {
16
- "@nomicfoundation/hardhat-ethers": "^3.0.6",
17
- "@nomicfoundation/hardhat-network-helpers": "^1.0.11",
18
- "chai": "^4.5.0",
19
- "chai-as-promised": "^7.1.2",
20
- "chai-exclude": "^2.1.1",
21
- "jest": "^29.7.0",
22
- "sinon": "^18.0.0",
23
- "sinon-chai": "^3.7.0"
24
- },
25
15
  "devDependencies": {
26
16
  "@nomicfoundation/hardhat-ethers": "^3.0.4",
27
17
  "@nomicfoundation/hardhat-network-helpers": "^1.0.9",
28
18
  "@types/chai": "^4.3.17",
29
- "@types/chai-as-promised": "^7",
30
19
  "@types/jest": "^29.5.12",
31
20
  "@types/mocha": "^10.0.6",
32
21
  "@types/node": "^22.1.0",
33
22
  "@types/sinon": "^17.0.3",
34
23
  "@types/sinon-chai": "^3.2.12",
35
24
  "chai": "^4.5.0",
36
- "chai-as-promised": "^7.1.2",
37
- "chai-exclude": "^2.1.1",
38
25
  "dotenv": "^16.3.1",
39
26
  "ethers": "^6.13.2",
40
27
  "hardhat": "^2.20.1",
41
- "jest": "^29.7.0",
42
28
  "mocha": "^10.4.0",
43
29
  "sinon": "^18.0.0",
44
30
  "sinon-chai": "^3.7.0",
45
31
  "typescript": "^5.4.5"
46
32
  },
47
33
  "peerDependencies": {
34
+ "@nomicfoundation/hardhat-ethers": "^3.0.0",
35
+ "@nomicfoundation/hardhat-network-helpers": "^1.0.0",
36
+ "chai": "^4.3.0",
48
37
  "ethers": "^6.0.0",
49
- "hardhat": "^2.20.0"
38
+ "hardhat": "^2.20.0",
39
+ "sinon": "^18.0.0",
40
+ "sinon-chai": "^3.7.0"
50
41
  },
51
42
  "publishConfig": {
52
43
  "access": "public"
53
44
  },
54
- "gitHead": "f97a07789e24c29bc39c8b2836132daecfd16595"
45
+ "gitHead": "81bdd19a15cf63595baf5d6c13ba7dcbadec8300"
55
46
  }