diff --git a/README.md b/README.md index bc581372cd..dfe28e6a20 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/scripts/test/test-main.js b/scripts/test/test-main.js index dae26221b2..1bfbdbb7b4 100644 --- a/scripts/test/test-main.js +++ b/scripts/test/test-main.js @@ -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.'); } }); }))