Sorry, but
```js
var {assert} = require('chai');
``` 
gives 
```
  var assert = require('chai');
               ^
ReferenceError: require is not defined
```