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

Error when running test coverage: TypeError: this.timeout is not a function #316

Description

@elenadimitrova

Some random errors after contract instrumentation have started happening since yesterday:

Instrumenting for coverage...
=============================

...
> server:            http://127.0.0.1:8545
Error: TypeError: this.timeout is not a function
    at Object.runCoverage (/Users/Elena/Source/argent-contracts/node_modules/etherlime/cli-commands/etherlime-test/etherlime-coverage.js:84:9)
etherlime coverage [path] [timeout] [port] [solcVersion] [workingDirectory]
[html] [ignoreFiles]

Run all tests with code coverage.

Sample failing build: https://circleci.com/gh/argentlabs/argent-contracts/289

Also

> server:            http://127.0.0.1:8545
Error: SyntaxError: Invalid or unexpected token
    at Object.runCoverage (/home/circleci/argent-contracts/node_modules/etherlime/cli-commands/etherlime-test/etherlime-coverage.js:84:9)
etherlime coverage [path] [timeout] [port] [solcVersion] [workingDirectory]
[html] [ignoreFiles]

Sample failing build: https://circleci.com/gh/argentlabs/argent-contracts/287

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions