node-serialport-bindings-cpp/test/initializers/assert.js
Francis Gulotta dad88ce899
chore: drop node 4 and upgrade to node 6 features (#1633)
Libraries, LTS support and a large enough amount of users have all dropped node 4. As part of this years [J5 summit](https://github.com/rwaldron/johnny-five/issues/1463) we discussed supporting all Active, Maintenance and Current LTS releases only. This will greatly reduce maintenance overhead and make this maintainer a little bit more happy. The last version of serialport to support node 4 will be `serialport@6`.

- remove "use strict;"
- add engines directives to all package.json's
- drop safe-buffer as they're all safe now
- let eslint-plugin-node use the engines directive
- use new language features in a few random places to feel better about this
- stop including the package-lock.json
- upgrade a few packages

BREAKING: Dropping support for node 4
2018-08-25 18:41:39 -07:00

5 lines
125 B
JavaScript

const chai = require('chai');
const chaiSubset = require('chai-subset');
global.assert = chai.assert;
chai.use(chaiSubset);