Skip to content

build.test can never be red #638

@hhowe29

Description

@hhowe29

Assertion errors need to be passed to the mocha done callback, otherwise the test will appear to be green.

These lines should be changed to

    auto.build().then(tableData => {
      callback(tableData);
      done();
    }).catch((e) => {
      done(e);
    })

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