Failed tests: 0/10. Failed suites: 4/7.
```
β Test suite failed to run
src/web3/ClientFactory.ts:70:9 - error TS2322: Type 'null' is not assignable to type 'Web3Account'.
70 let account: Web3Account = null
~~~~~~~
src/web3/ClientFactory.ts:109:9 - error TS2322: Type 'null' is not assignable to type 'Web3Account'.
109 let account: Web3Account = null
~~~~~~~
```
---
```
β Test suite failed to run
src/utils/Xbqcrypto.ts:76:19 - error TS2322: Type 'number | undefined' is not assignable to type 'number'.
Type 'undefined' is not assignable to type 'number'.
76 return { value, bytes }
~~~~~
src/utils/Xbqcrypto.ts:72:3
72 bytes: number
~~~~~
The expected type comes from property 'bytes' which is declared here on type '{ value: number; bytes: number; }'
```
---
```
β Test suite failed to run
src/experimental/crypto/cross-browser.ts:80:22 - error TS2769: No overload matches this call.
The last overload gave the following error.
Argument of type 'Promise' is not assignable to parameter of type 'WithImplicitCoercion | { [Symbol.toPrimitive](hint: "string"): string; }'.
80 return Buffer.from(crypto.subtle.exportKey('raw', derivedKey))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../node_modules/@types/node/buffer.d.ts:309:13
309 from(
~~~~~
310 str:
~~~~~~~~~~~~~~~~~~~~
...
315 encoding?: BufferEncoding,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
316 ): Buffer;
~~~~~~~~~~~~~~~~~~~~~~
The last overload is declared here.
```
---
```
β Test suite failed to run
src/experimental/crypto/cross-browser.ts:80:22 - error TS2769: No overload matches this call.
The last overload gave the following error.
Argument of type 'Promise' is not assignable to parameter of type 'WithImplicitCoercion | { [Symbol.toPrimitive](hint: "string"): string; }'.
80 return Buffer.from(crypto.subtle.exportKey('raw', derivedKey))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../node_modules/@types/node/buffer.d.ts:309:13
309 from(
~~~~~
310 str:
~~~~~~~~~~~~~~~~~~~~
...
315 encoding?: BufferEncoding,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
316 ): Buffer;
~~~~~~~~~~~~~~~~~~~~~~
The last overload is declared here.
```
Coverage report for experimental massa-web3
Test suite run failed
Failed tests: 0/10. Failed suites: 4/7.
``` β Test suite failed to run src/web3/ClientFactory.ts:70:9 - error TS2322: Type 'null' is not assignable to type 'Web3Account'. 70 let account: Web3Account = null ~~~~~~~ src/web3/ClientFactory.ts:109:9 - error TS2322: Type 'null' is not assignable to type 'Web3Account'. 109 let account: Web3Account = null ~~~~~~~ ``` --- ``` β Test suite failed to run src/utils/Xbqcrypto.ts:76:19 - error TS2322: Type 'number | undefined' is not assignable to type 'number'. Type 'undefined' is not assignable to type 'number'. 76 return { value, bytes } ~~~~~ src/utils/Xbqcrypto.ts:72:3 72 bytes: number ~~~~~ The expected type comes from property 'bytes' which is declared here on type '{ value: number; bytes: number; }' ``` --- ``` β Test suite failed to run src/experimental/crypto/cross-browser.ts:80:22 - error TS2769: No overload matches this call. The last overload gave the following error. Argument of type 'Promise
Report generated by π§ͺjest coverage report action from b179bd75c0ea17213bcca4c03b37b6b32040610b