feat: cache latest fuels
version
#15180
Annotations
5 errors
Run Tests - node:
packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts#L41
AssertionError: expected "log" to be called with arguments: [ Array(1) ]
Received:
1st log call:
Array [
"
- Unable to fetch latest fuels version. Skipping...
+ ✅ Your fuels version is up to date: 0.94.6
",
]
Number of calls: 1
❯ packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts:41:17
|
Run Tests - node:
packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts#L67
AssertionError: expected "log" to be called with arguments: [ Array(1) ]
Received:
1st log call:
Array [
"
- Unable to fetch latest fuels version. Skipping...
+ ✅ Your fuels version is up to date: 0.94.6
",
]
Number of calls: 1
❯ packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts:67:17
|
Run Tests - node:
packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts#L12
AssertionError: promise resolved "'0.94.6'" instead of rejecting
- Expected:
[Error: rejected promise]
+ Received:
"0.94.6"
❯ packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts:12:41
|
Run Tests - node:
packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts#L22
AssertionError: promise resolved "'0.94.6'" instead of rejecting
- Expected:
[Error: rejected promise]
+ Received:
"0.94.6"
❯ packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts:22:41
|
Run Tests - node
Process completed with exit code 1.
|
Loading