Skip to content

Fix unit test for instance get with raw option - #10059

Merged
sushantdhiman merged 1 commit into
sequelize:masterfrom
justinkalland:fix-test-instance-get
Oct 23, 2018
Merged

sushantdhiman merged 1 commit into
sequelize:masterfrom
justinkalland:fix-test-instance-get

Conversation

@justinkalland

Copy link
Copy Markdown
Contributor

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?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Did you follow the commit message conventions explained in CONTRIBUTING.md?

Description of change

The test previously passed the raw option to the expect() when it was intended to be passed when building the instance. The error would cause the test to always pass.

@sushantdhiman sushantdhiman left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good catch

@sushantdhiman
sushantdhiman merged commit a4ec7c9 into sequelize:master Oct 23, 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.

3 participants