Add AsyncInterval class #1593
Annotations
4 errors and 9 warnings
Unhandled error:
scripts/wallet.js#L1064
TypeError: this[#shield].getTxStatus is not a function
❯ scripts/wallet.js:1064:52
❯ AsyncInterval.#setInterval scripts/async_interval.js:14:15
❯ new AsyncInterval scripts/async_interval.js:8:26
❯ Wallet.#signShield scripts/wallet.js:1063:34
❯ Wallet.sign scripts/wallet.js:1112:42
❯ tests/unit/wallet/signature.spec.js:76:36
This error originated in "tests/unit/wallet/signature.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "signs a s->t tx correctly". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
scripts/wallet.js#L1064
TypeError: this[#shield].getTxStatus is not a function
❯ scripts/wallet.js:1064:52
❯ AsyncInterval.#setInterval scripts/async_interval.js:14:15
❯ new AsyncInterval scripts/async_interval.js:8:26
❯ Wallet.#signShield scripts/wallet.js:1063:34
❯ Wallet.sign scripts/wallet.js:1112:42
❯ tests/unit/wallet/signature.spec.js:110:36
❯ node_modules/@vitest/runner/dist/index.js:135:14
❯ node_modules/@vitest/runner/dist/index.js:60:26
❯ runTest node_modules/@vitest/runner/dist/index.js:781:17
❯ runSuite node_modules/@vitest/runner/dist/index.js:909:15
This error originated in "tests/unit/wallet/signature.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "signs a t->s tx correctly". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
scripts/wallet.js#L1064
TypeError: this[#shield].getTxStatus is not a function
❯ scripts/wallet.js:1064:52
❯ AsyncInterval.#setInterval scripts/async_interval.js:14:15
❯ new AsyncInterval scripts/async_interval.js:8:26
❯ Wallet.#signShield scripts/wallet.js:1063:34
❯ Wallet.sign scripts/wallet.js:1112:42
❯ tests/unit/wallet/signature.spec.js:152:36
❯ node_modules/@vitest/runner/dist/index.js:135:14
❯ node_modules/@vitest/runner/dist/index.js:60:26
❯ runTest node_modules/@vitest/runner/dist/index.js:781:17
❯ runSuite node_modules/@vitest/runner/dist/index.js:909:15
This error originated in "tests/unit/wallet/signature.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
|
Run linters
Process completed with exit code 1.
|
Run linters:
scripts/__mocks__/network.js#L88
'skipCoinstake' is assigned a value but never used
|
Run linters:
scripts/database.js#L6
'confirmPopup' is defined but never used
|
Run linters:
scripts/database.js#L7
'sanitizeHTML' is defined but never used
|
Run linters:
scripts/database.js#L13
'ALERTS' is defined but never used
|
Run linters:
scripts/database.js#L13
'translation' is defined but never used
|
Run linters:
scripts/index.js#L13
'getNetwork' is defined but never used
|
Run linters:
scripts/network.js#L2
'createAlert' is defined but never used
|
Run linters:
scripts/network.js#L13
'ALERTS' is defined but never used
|
Run linters:
scripts/wallet.js#L12
'tr' is defined but never used
|