Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

A boilerplate dev environment for typescript, mocha & chai and karma for unit testing (tdd/bdd)

License

Notifications You must be signed in to change notification settings

tgsstdio/karma-typescript-mocha-chai-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

karma-typescript-mocha-chai-quickstart

A boilerplate dev environment for typescript, mocha & chai and karma for unit testing (tdd/bdd)

The node.js development environment has been set-up as a working example for writing and evaluating mocha & chai unit tests.

The purpose is to have the SAME mocha & chai unit tests written in typescript or javascript using import ES6/ES2015 modules (e.g. common.js/node.js/webpack) AND then have those unit tests evaluated on the server side (node.js) and client side (via the Chrome browser) automatically by the Karma test runner.

node.js libraries used

  • @types/chai
  • @types/mocha
  • chai
  • karma
  • karma-chai
  • karma-chrome-launcher
  • karma-coverage
  • karma-mocha
  • karma-mocha-reporter
  • karma-typescript
  • karma-typescript-es6-transform
  • karma-typescript-preprocessor
  • karma-webpack
  • mocha
  • standard
  • typescript
  • webpack

Git Branches

master

dependencies in package.json use minimum version

baseline

dependencies in package.json use exact version number as the last working version

LICENSE

ISC License

Copyright (c) 2017, David Young

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

About

A boilerplate dev environment for typescript, mocha & chai and karma for unit testing (tdd/bdd)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published