Permalink
Browse files

changed browsers to launch_in_dev to follow testem configuration and …

…no longer delete testem.json
  • Loading branch information...
1 parent e92f54a commit 3a8374e0267dba6f9d1de2c7788ffb329ceafea3 @eclifford eclifford committed Nov 1, 2012
Showing with 2 additions and 4 deletions.
  1. 0 bin/grunt-testem
  2. +1 −1 grunt.js
  3. +1 −3 tasks/testem.js
View
0 bin/grunt-testem 100644 → 100755
No changes.
View
@@ -3,7 +3,7 @@ module.exports = function(grunt) {
grunt.initConfig({
'testem': {
main : {
- browsers : [
+ launch_in_dev : [
'chrome',
'safari'
],
View
@@ -17,12 +17,11 @@ module.exports = function(grunt) {
grunt.registerMultiTask( 'testem', 'Execute testem.', function() {
var done = this.async(),
that = this,
- browsers = this.data.browsers||[],
+ browsers = this.data.launch_in_dev||[],
ci = (browsers.length) ? ' -l ' + browsers.join(',') : '',
files = this.data.files || [];
grunt.log.writeln('Now testing...');
- delete this.data.files;
async.reduce(
files,
{
@@ -64,7 +63,6 @@ module.exports = function(grunt) {
pass = memo.pass,
fail = memo.fail,
not = memo.not.join('\n');
- fs.unlinkSync('testem.json');
if( tests != pass ||
fail ||
not ||

0 comments on commit 3a8374e

Please sign in to comment.