I am running a local node using the command "substrate-contracts-node".
On another terminal, I change dir to root directory of "rmrk-ink" and ran "yarn test", but it all the tests fails.
yarn run v1.22.19
$ mocha --require ts-node/register --recursive ./tests --extension ".spec.ts" --exit --timeout 20000
RMRK Base tests
2023-02-02 16:18:02 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
1) Setup Base
RMRK Merged Equippable
2023-02-02 16:18:03 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
Setting up Base
2) Merged Equippable user journey
RMRK Multi Asset tests
2023-02-02 16:18:03 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
3) Init two rmrk contracts works
2023-02-02 16:18:04 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
4) Add assets to token and approve them
RMRK Nesting tests
2023-02-02 16:18:05 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
5) Init two rmrk contracts works
2023-02-02 16:18:05 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
6) Add child (different user), approval works
2023-02-02 16:18:06 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
7) Add child (different user), reject works
2023-02-02 16:18:06 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
8) Add child (same user) works
2023-02-02 16:18:07 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
9) Add two parents, move/transfer child works
Minting rmrk as psp34 tests
2023-02-02 16:18:07 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
10) create collection works
2023-02-02 16:18:08 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
11) mintNext works
2023-02-02 16:18:08 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
12) mint 5 tokens works
2023-02-02 16:18:08 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
13) token transfer works
2023-02-02 16:18:09 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
14) token aproval works
2023-02-02 16:18:09 API/INIT: RPC methods not decorated: transaction_unstable_submitAndWatch, transaction_unstable_unwatch
15) Minting token without funds should fail
0 passing (8s)
15 failing
1) RMRK Base tests
Setup Base:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
2) RMRK Merged Equippable
Merged Equippable user journey:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
3) RMRK Multi Asset tests
Init two rmrk contracts works:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
4) RMRK Multi Asset tests
Add assets to token and approve them:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
5) RMRK Nesting tests
Init two rmrk contracts works:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
6) RMRK Nesting tests
Add child (different user), approval works:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
7) RMRK Nesting tests
Add child (different user), reject works:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
8) RMRK Nesting tests
Add child (same user) works:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
9) RMRK Nesting tests
Add two parents, move/transfer child works:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
10) Minting rmrk as psp34 tests
create collection works:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
11) Minting rmrk as psp34 tests
mintNext works:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
12) Minting rmrk as psp34 tests
mint 5 tokens works:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
13) Minting rmrk as psp34 tests
token transfer works:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
14) Minting rmrk as psp34 tests
token aproval works:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
15) Minting rmrk as psp34 tests
Minting token without funds should fail:
Error: the object {
"issue": "OUTPUT_IS_NULL"
} was thrown, throw an Error :)
at processTicksAndRejections (node:internal/process/task_queues:95:5)