generator-kmcs-initdeprecated

A Yeoman generator for installing and configuring Karma, Mocha, Chai and Sinon

Usage no npm install needed!

<script type="module">
  import generatorKmcsInit from 'https://cdn.skypack.dev/generator-kmcs-init';
</script>

README

generator-kmcs-init

A Yeoman generator for installing and configuring Karma, Mocha, Sinon and Chai.

Easy way to install, integrate and configure the popular quartet of testing tools.
Internally it's using rollup as preprocessor. It seems that it can cause some problems with watching files and executing the tests when file change. More info.

Installation and usage

Make sure you have Node and npm installed. Then install Yeoman and generator:

npm install -g yo
npm install -g generator-kmcs-init

Create a new directory for your project:

mkdir my-new-project
cd my-new-project

Now you can install and configure your testing tools with:

yo kmcs-init

Run your tests with:

npm test

Contributing

You can test kmcs-init with:

npm test

Additionally you can check code with ESLint:

npm run eslint

License

MIT © Paweł Halczuk