Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

SushiSwap Swapper Test has unhandled rejections #71

Open
Clearwood opened this issue Feb 14, 2021 · 0 comments
Open

SushiSwap Swapper Test has unhandled rejections #71

Clearwood opened this issue Feb 14, 2021 · 0 comments

Comments

@Clearwood
Copy link
Contributor

SushiSwapSwapper
    Swap
(node:3572) UnhandledPromiseRejectionWarning: AssertionError: Expected "0" to be equal 20000000000000000000
    at assertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:48:52)
    at tryAssertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:54:20)
    at /home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:66:13
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
      ✓ should swap (158ms)
    at runNextTicks (internal/process/task_queues.js:62:3)
    at listOnTimeout (internal/timers.js:523:9)
    at processTimers (internal/timers.js:497:7)
(node:3572) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2822)
(node:3572) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:3572) UnhandledPromiseRejectionWarning: AssertionError: Expected "0" to be equal 20000000000000000000
    at assertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:48:52)
    at tryAssertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:54:20)
    at /home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:66:13
    at runMicrotasks (<anonymous>)
      ✓ should swap with minimum set (159ms)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at runNextTicks (internal/process/task_queues.js:62:3)
    at listOnTimeout (internal/timers.js:523:9)
    at processTimers (internal/timers.js:497:7)
(node:3572) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2841)
      ✓ should not swap with minimum not met (128ms)
(node:3572) UnhandledPromiseRejectionWarning: AssertionError: Expected "2000000000" to be equal 0
    at assertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:48:52)
    at tryAssertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:54:20)
    at /home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:66:13
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at runNextTicks (internal/process/task_queues.js:62:3)
    at listOnTimeout (internal/timers.js:523:9)
    at processTimers (internal/timers.js:497:7)
(node:3572) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2875)
      ✓ should swap in opposite direction (151ms)
(node:3572) UnhandledPromiseRejectionWarning: AssertionError: Expected "2000000000" to be equal 0
    at assertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:48:52)
    at tryAssertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:54:20)
    at /home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:66:13
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at runNextTicks (internal/process/task_queues.js:62:3)
    at listOnTimeout (internal/timers.js:523:9)
    at processTimers (internal/timers.js:497:7)
(node:3572) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2894)
      ✓ should swap in opposite direction with minimum set (152ms)
      ✓ should not swap in opposite direction with minimum not met (114ms)
    Swap Exact
(node:3572) UnhandledPromiseRejectionWarning: AssertionError: Expected "0" to be equal 20068207824754776535
    at assertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:48:52)
    at tryAssertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:54:20)
    at /home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:66:13
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at runNextTicks (internal/process/task_queues.js:62:3)
    at listOnTimeout (internal/timers.js:523:9)
    at processTimers (internal/timers.js:497:7)
(node:3572) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2930)
      ✓ should swap exact (173ms)
(node:3572) UnhandledPromiseRejectionWarning: AssertionError: Expected "0" to be equal 20068207824754776535
    at assertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:48:52)
    at tryAssertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:54:20)
    at /home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:66:13
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at runNextTicks (internal/process/task_queues.js:62:3)
    at listOnTimeout (internal/timers.js:523:9)
    at processTimers (internal/timers.js:497:7)
(node:3572) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2950)
      ✓ should swap exact with exact amountIn (159ms)
      ✓ should not swap exact with not enough amountIn (95ms)
(node:3572) UnhandledPromiseRejectionWarning: AssertionError: Expected "2006820783" to be equal 0
    at assertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:48:52)
    at tryAssertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:54:20)
    at /home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:66:13
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at runNextTicks (internal/process/task_queues.js:62:3)
    at listOnTimeout (internal/timers.js:523:9)
    at processTimers (internal/timers.js:497:7)
(node:3572) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2982)
      ✓ should swap exact in opposite direction (169ms)
(node:3572) UnhandledPromiseRejectionWarning: AssertionError: Expected "2006820783" to be equal 0
    at assertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:48:52)
    at tryAssertArgsArraysEqual (/home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:54:20)
    at /home/runner/work/bentobox/bentobox/node_modules/@ethereum-waffle/chai/dist/cjs/matchers/emit.js:66:13
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at runNextTicks (internal/process/task_queues.js:62:3)
    at listOnTimeout (internal/timers.js:523:9)
    at processTimers (internal/timers.js:497:7)
(node:3572) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3002)
      ✓ should swap exact in opposite direction with exact AmountIn (151ms)
      ✓ should not swap exact in opposite direction with not enough amountIn (92ms)
      ```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant