We can now run unit tests using npm test. For the unit tests, we are using mocha, chai, karma and phantomjs.
Notice that to write the tests we are using the Should API, that is more fluent than the rest (see assertion styles here) but it requires to run a setup() line at the beginning of each spec. This should be refactored and moved to an initialization phase.
We can now run unit tests using
npm test
. For the unit tests, we are using mocha, chai, karma and phantomjs.Notice that to write the tests we are using the
Should API
, that is more fluent than the rest (see assertion styles here) but it requires to run asetup()
line at the beginning of each spec. This should be refactored and moved to an initialization phase.Next pull requests will include:
--watch
support