Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor updates to tests #2050

Merged
merged 3 commits into from
Jan 31, 2020
Merged

Conversation

mastermatt
Copy link
Contributor

@mastermatt mastermatt commented Jan 20, 2020

While working on #2049, there were several housekeeping items that popped up for me, as a first time contributor. I didn't want to clutter the original PR, so I'm opening this separate one with things I had stashed.

  • Update calls to the deprecated Buffer constructor in a couple tests
  • Replace Istanbul with nyc
  • Run the formatter

Using `new Buffer` has been deprecated since Node v6 and emits a runtime
warning on Node v10+. `Buffer.from(string[, encoding])` has been the
preferred method since v5.10.
nyc is the command-line-client for Istanbul now
https://istanbul.js.org/

```
npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
```
Copy link
Member

@ricardograca ricardograca left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you for the contribution.

@ricardograca ricardograca merged commit a626e98 into bookshelf:master Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants