ES6 shorthand import
You can use it like this:
import * as chai from 'chai';
let assert = chai.assert;
let should = chai.should();
let expect = chai.expect;
Yes, you can do it like:
import { assert } from 'chai';
assert
must be exporting from chai
in that case. See spec here and about es6 modules here
I'd rather:
import {assert, should, expect} from 'chai';