karma-chai-datetime
chai-datetime plugin for Karma
Installation
Install the plugin from npm:
$ npm install karma-chai-datetime --save-dev
Add chai-datetime
before chai
to the frameworks
key in your Karma configuration:
module.exports = function(config) {
config.set({
// frameworks to use
frameworks: ['mocha', 'chai-datetime', 'chai']
// ...
License
The MIT License (MIT)