chore: rename postSellNativeCurrencyOrder #1595
Annotations
6 errors and 3 warnings
postSellNativeCurrencyOrder > When sell token is native, then should post on-chain order:
src/trading/postCoWProtocolTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'mockResolvedValue')
at Object.mockResolvedValue (/home/runner/work/cow-sdk/cow-sdk/src/trading/postCoWProtocolTrade.test.ts:90:37)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
TypeError: Cannot read properties of undefined (reading 'mockReset')
at Object.mockReset (/home/runner/work/cow-sdk/cow-sdk/src/trading/postCoWProtocolTrade.test.ts:85:37)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusHook (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:281:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:254:5)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
|
postSellNativeCurrencyOrder > API request should contain all specified parameters:
src/trading/postCoWProtocolTrade.test.ts#L0
TypeError: (0 , _postSellNativeCurrencyOrder.postSellNativeCurrencyOrder) is not a function
at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postCoWProtocolTrade.test.ts:103:38)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
TypeError: Cannot read properties of undefined (reading 'mockReset')
at Object.mockReset (/home/runner/work/cow-sdk/cow-sdk/src/trading/postCoWProtocolTrade.test.ts:85:37)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusHook (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:281:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:254:5)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
|
postSellNativeCurrencyOrder > When sell token is native, then should post on-chain order:
src/trading/postCoWProtocolTrade.test.ts#L0
TypeError: Cannot read properties of undefined (reading 'mockResolvedValue')
at Object.mockResolvedValue (/home/runner/work/cow-sdk/cow-sdk/src/trading/postCoWProtocolTrade.test.ts:90:37)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
TypeError: Cannot read properties of undefined (reading 'mockReset')
at Object.mockReset (/home/runner/work/cow-sdk/cow-sdk/src/trading/postCoWProtocolTrade.test.ts:85:37)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusHook (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:281:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:254:5)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
|
postSellNativeCurrencyOrder > API request should contain all specified parameters:
src/trading/postCoWProtocolTrade.test.ts#L0
TypeError: (0 , _postSellNativeCurrencyOrder.postSellNativeCurrencyOrder) is not a function
at Object.<anonymous> (/home/runner/work/cow-sdk/cow-sdk/src/trading/postCoWProtocolTrade.test.ts:103:38)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
TypeError: Cannot read properties of undefined (reading 'mockReset')
at Object.mockReset (/home/runner/work/cow-sdk/cow-sdk/src/trading/postCoWProtocolTrade.test.ts:85:37)
at Promise.then.completed (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusHook (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:281:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:254:5)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/cow-sdk/cow-sdk/node_modules/jest-runner/build/testWorker.js:106:12)
|
test
Some jest tests failed.
|
test
Process completed with exit code 1.
|
test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|