Skip to content

Commit

Permalink
removing coverage reports and adding to gitignore, figured out how to…
Browse files Browse the repository at this point in the history
… test this bloody thing!
  • Loading branch information
Carl Banbury committed Apr 12, 2015
1 parent 4ba9d51 commit 5107f9a
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 909 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
npm-debug.log
tmp
test/coverage/*
4 changes: 3 additions & 1 deletion tasks/painless_protractor.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ function tidyShutdown(grunt, error) {

module.exports = function(grunt) {
grunt.registerMultiTask('painless_protractor', 'Start selenium webdriver, local server and run protractor tests', function() {
var done = this.async();
console.log('in here ' + this);
// var done = this.async();
var options = this.options({});

var webdriverBin = options.webdriver_bin || 'node_modules/protractor/bin/webdriver-manager';
var protractorBin = options.protractor_bin || 'node_modules/protractor/bin/protractor';
var configFile = options.config_file || 'conf.js';

console.log('am getting here');
var update = spawnSync(webdriverBin, ['update'], {stdio: 'inherit'});
if (update.stderr) {
return tidyShutdown(grunt, update.stderr);
Expand Down
1 change: 0 additions & 1 deletion test/coverage/coverage.json

This file was deleted.

182 changes: 0 additions & 182 deletions test/coverage/lcov-report/base.css

This file was deleted.

73 changes: 0 additions & 73 deletions test/coverage/lcov-report/index.html

This file was deleted.

1 change: 0 additions & 1 deletion test/coverage/lcov-report/prettify.css

This file was deleted.

1 change: 0 additions & 1 deletion test/coverage/lcov-report/prettify.js

This file was deleted.

Binary file removed test/coverage/lcov-report/sort-arrow-sprite.png
Binary file not shown.
Loading

0 comments on commit 5107f9a

Please sign in to comment.