sequelize-auto icon indicating copy to clipboard operation
sequelize-auto copied to clipboard

build.test can never be red

Open hhowe29 opened this issue 2 years ago • 0 comments

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);
    })

hhowe29 avatar Mar 11 '23 19:03 hhowe29