feat: cache latest fuels
version
#15534
Annotations
5 errors
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.8
",
]
Number of calls: 1
❯ packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts:41:17
|
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.8
",
]
Number of calls: 1
❯ packages/fuels/src/cli/utils/checkForAndDisplayUpdates.test.ts:67:17
|
packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts#L20
AssertionError: promise resolved "'0.94.8'" instead of rejecting
- Expected:
[Error: rejected promise]
+ Received:
"0.94.8"
❯ packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts:20:41
|
packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts#L30
AssertionError: promise resolved "'0.94.8'" instead of rejecting
- Expected:
[Error: rejected promise]
+ Received:
"0.94.8"
❯ packages/fuels/src/cli/utils/getLatestFuelsVersion.test.ts:30:41
|
|
This job failed
Loading