Permalink
Browse files

Remove dead code

  • Loading branch information...
1 parent 08d478c commit 69e057750cdde63996989cd1f46ba7d40656f052 @pquerna pquerna committed Apr 14, 2011
Showing with 0 additions and 27 deletions.
  1. +0 −27 lib/run.js
View
@@ -21,7 +21,6 @@ var fs = require('fs');
var sys = require('sys');
var path = require('path');
var spawn = require('child_process').spawn;
-var DebuggerClient = require('_debugger').Client;
var async = require('async');
var sprintf = require('sprintf').sprintf;
@@ -38,32 +37,6 @@ var timeouts = 0;
var dateStart;
-function startCodeCoverage(port, coverageData) {
- setTimeout(function() {
- var client = new DebuggerClient();
- client.connect(port);
-
- client.once('ready', function() {
- // since we did debug-brk, we're hitting a break point immediately
- // continue before anything else.
- client.step('in', 1, function() {});
- });
-
- client.on('close', function() {
- console.log('\nprogram terminated');
- });
-
- client.on('unhandledResponse', function(res) {
- console.log('\r\nunhandled res:');
- console.log(res);
- });
-
- client.on('break', function(res) {
- coverageData.visited(res.body.script.name , res.body.sourceLine);
- client.step('in', 1, function() {});
- });
- }, 100);
-}
/**
* Spawn a new child, run a test file and report results.

0 comments on commit 69e0577

Please sign in to comment.