karma-chai-datetime

chai-datetime plugin for Karma.

Usage no npm install needed!

<script type="module">
  import karmaChaiDatetime from 'https://cdn.skypack.dev/karma-chai-datetime';
</script>

README

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)