Skip to content

Commit

Permalink
test(gen): make tests more strict and DRY
Browse files Browse the repository at this point in the history
Changes:
- `genFiles(ops)` creates an array of expected files based on options given
- test for generated files on every set of tests
- test for unexpected files
- use testExec to be more DRY

Exposes a bug with `client/components/socket`:
`socket.service.js` and `socket.mock.js` are not filtered.
See angular-fullstack#530
  • Loading branch information
kingcody committed Sep 10, 2014
1 parent 7045907 commit c2ab8ae
Show file tree
Hide file tree
Showing 2 changed files with 287 additions and 130 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"marked": "~0.2.8",
"mocha": "~1.21.0",
"q": "^1.0.1",
"recursive-readdir": "^1.2.0",
"semver": "~2.2.1",
"shelljs": "^0.3.0",
"underscore.string": "^2.3.3"
Expand Down
Loading

0 comments on commit c2ab8ae

Please sign in to comment.