chore: move away from onStart and using only onStatus for advance lifeCycleStatus #3775
Annotations
5 errors
src/swap/utils/processSwapTransaction.test.ts > processSwapTransaction > should request approval and make the swap for ERC-20 tokens:
src/swap/utils/processSwapTransaction.ts#L32
TypeError: setLifecycleStatus is not a function
❯ Module.processSwapTransaction src/swap/utils/processSwapTransaction.ts:32:5
❯ src/swap/utils/processSwapTransaction.test.ts:117:5
|
src/swap/utils/processSwapTransaction.test.ts > processSwapTransaction > should make the swap for non-ERC-20 tokens:
src/swap/utils/processSwapTransaction.ts#L90
TypeError: setLifecycleStatus is not a function
❯ Module.processSwapTransaction src/swap/utils/processSwapTransaction.ts:90:3
❯ src/swap/utils/processSwapTransaction.test.ts:211:5
|
src/swap/utils/processSwapTransaction.test.ts > processSwapTransaction > should successfully call relevant async lifecycle hooks:
src/swap/utils/processSwapTransaction.ts#L32
TypeError: setLifecycleStatus is not a function
❯ Module.processSwapTransaction src/swap/utils/processSwapTransaction.ts:32:5
❯ src/swap/utils/processSwapTransaction.test.ts:306:5
|
src/swap/utils/processSwapTransaction.test.ts > processSwapTransaction > should successfully use Permit2 approval process for `useAggregators`=false:
src/swap/utils/processSwapTransaction.ts#L32
TypeError: setLifecycleStatus is not a function
❯ Module.processSwapTransaction src/swap/utils/processSwapTransaction.ts:32:5
❯ src/swap/utils/processSwapTransaction.test.ts:406:5
|
build (18.x)
Process completed with exit code 1.
|