add tests to readme

This commit is contained in:
Andrew
2015-03-30 09:01:48 -06:00
parent df9ef592f5
commit 4d29bcbd0f
2 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,8 @@
#### Test it out!
- Run `gulp watch` to build, serve, and watch Ionic & playground
- Run `gulp karma-watch` while gulp watch is running to watch tests. Unit tests run on compiled files in dist.
- All test files must be suffixed with `_spec.js`.
- Run `gulp karma-watch` while gulp watch is running to watch tests.
- All test files must be suffixed with `.spec.js`. Don't put a test as a sibling of a normal file, or import will decide the `.spec.js`is the same as the `.js`.
#### Building & Running

View File

@ -28,7 +28,7 @@ Promise.all(
if (module.hasOwnProperty('run')) {
module.run();
} else {
throw new Error('Module ' + path + ' does not implement run() method.');
console.warn('WARNING: Module ' + path + ' does not implement a run() method. No tests run.');
}
});
}))