Skip to content
This repository was archived by the owner on Nov 15, 2021. It is now read-only.
This repository was archived by the owner on Nov 15, 2021. It is now read-only.

Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. #144

@Philogy

Description

@Philogy

@openzeppelin-test-environment version: 0.1.6
truffle version: 5.1.13
Steps to reproduce:

  1. mkdir test-project; cd test-project
  2. truffle unbox metacoin
  3. truffle test => tests succeeds
  4. Follow migrate instructions (https://docs.openzeppelin.com/test-environment/0.1/migrating-from-truffle):
    4.1. npm i --save-dev @openzeppelin/test-environment mocha chai
    4.2. Create package.json and add test script
    4.3. Replace necessary values
  5. npm test => Timeout error

Additional notes:
I tried running --timeout 30000 but the tests still timedout. I had another project running with 0.15 which worked great sad that 0.16 will have to resort to normal truffle testing. Would love any help, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions