First pass at testing

- Unit/Integration(ish) tests for Home Controller
- Simple test for the date filter
- Dependencies for Karma and Jasmine
- circle.yml file for CI
This commit is contained in:
Lev Lazinskiy
2017-01-20 13:58:10 -08:00
parent dd49a0169d
commit 3d2e571efa
5 changed files with 159 additions and 1 deletions

View File

@@ -1,7 +1,12 @@
{
"name": "neeto",
"version": "1.0.0",
"scripts": {
"test": "karma start karma.conf.js --single-run"
},
"devDependencies": {
"angular": "^1.6.1",
"angular-mocks": "^1.6.1",
"babel-cli": "^6.18.0",
"babel-preset-env": "^1.1.1",
"babel-preset-es2016": "^6.16.0",
@@ -16,6 +21,11 @@
"grunt-contrib-watch": "^1.0.0",
"grunt-haml2html": "^0.3.1",
"grunt-newer": "^1.2.0",
"grunt-ng-annotate": "^3.0.0"
"grunt-ng-annotate": "^3.0.0",
"jasmine": "^2.5.3",
"karma": "^1.4.0",
"karma-cli": "^1.0.1",
"karma-jasmine": "^1.1.0",
"karma-phantomjs-launcher": "^1.0.2"
}
}