Skip to content

Conversation

@mjamado
Copy link
Contributor

@mjamado mjamado commented Aug 1, 2018

Pull Request check-list

Please make sure to review and check all of these items:

  • Does npm run test or npm run test-DIALECT pass with this change (including linting)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Have you added new tests to prevent regressions?
  • Did you follow the commit message conventions explained in CONTRIBUTING.md?

Description of change

Fixes issue #9748

@codecov
Copy link

codecov bot commented Aug 1, 2018

Codecov Report

Merging #9754 into master will not change coverage.
The diff coverage is n/a.

expect(rows[0].tasks[0].jobs.length).to.equal(2);
expect(rows[0].tasks[0].jobs[0].title).to.equal('Job #1');
})
// if we get here, this will fail (as it should)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for catch / expect, if there is any error it will throw when returned promise chain rejects

Marco Amado added 2 commits August 2, 2018 10:49
Tests pass on my machine - however, it failed on Travis on account of weird sorting. Removed check - we don't really care which comes first.
@sushantdhiman sushantdhiman merged commit 458960d into sequelize:master Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants