@morpho-org/morpho-test 2.0.0-alpha.3 → 2.0.0-alpha.4
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/README.md +1 -22
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[![npm package][npm-img]][npm-url]
|
|
4
4
|
[![Downloads][downloads-img]][downloads-url]
|
|
5
5
|
|
|
6
|
-
Lightweight developer package that includes helpers to run hardhat
|
|
6
|
+
Lightweight developer package that includes helpers to run hardhat tests.
|
|
7
7
|
|
|
8
8
|
## Install
|
|
9
9
|
|
|
@@ -16,24 +16,3 @@ yarn add @morpho-org/morpho-test
|
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
---
|
|
19
|
-
|
|
20
|
-
## Usage
|
|
21
|
-
|
|
22
|
-
### jest
|
|
23
|
-
|
|
24
|
-
When running a jest test suite, you may encounter the following error:
|
|
25
|
-
|
|
26
|
-
```log
|
|
27
|
-
node:internal/modules/esm/utils:211
|
|
28
|
-
throw new ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAG();
|
|
29
|
-
^
|
|
30
|
-
|
|
31
|
-
TypeError: A dynamic import callback was invoked without --experimental-vm-modules
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
To fix this, [run jest using experimental VM modules](https://jestjs.io/docs/ecmascript-modules).
|
|
35
|
-
|
|
36
|
-
[downloads-img]: https://img.shields.io/npm/dt/@morpho-org/morpho-test
|
|
37
|
-
[downloads-url]: https://www.npmtrends.com/@morpho-org/morpho-test
|
|
38
|
-
[npm-img]: https://img.shields.io/npm/v/@morpho-org/morpho-test
|
|
39
|
-
[npm-url]: https://www.npmjs.com/package/@morpho-org/morpho-test
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morpho-org/morpho-test",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.4",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib"
|
|
@@ -9,15 +9,13 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"prepublish": "yarn build",
|
|
12
|
-
"build": "tsc --build tsconfig.build.json"
|
|
13
|
-
"test": "jest"
|
|
12
|
+
"build": "tsc --build tsconfig.build.json"
|
|
14
13
|
},
|
|
15
14
|
"devDependencies": {
|
|
16
15
|
"@nomicfoundation/hardhat-ethers": "^3.0.4",
|
|
17
16
|
"@nomicfoundation/hardhat-network-helpers": "^1.0.9",
|
|
18
17
|
"@types/chai": "^4.3.17",
|
|
19
18
|
"@types/chai-as-promised": "^7.1.2",
|
|
20
|
-
"@types/jest": "^29.5.12",
|
|
21
19
|
"@types/mocha": "^10.0.6",
|
|
22
20
|
"@types/node": "^22.1.0",
|
|
23
21
|
"@types/sinon": "^17.0.3",
|
|
@@ -45,5 +43,5 @@
|
|
|
45
43
|
"publishConfig": {
|
|
46
44
|
"access": "public"
|
|
47
45
|
},
|
|
48
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "6551f5fedbe1647ed028446a5f83c04703f048a7"
|
|
49
47
|
}
|