Created
November 4, 2011 08:59
-
-
Save ryanstevens/1338955 to your computer and use it in GitHub Desktop.
Testling runtime test eror (error in my test file)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node.js:134 | |
throw e; // process.nextTick error, or 'error' event on first tick | |
^ | |
TypeError: Object function (name, cb) { | |
if (typeof name === 'function') { | |
cb = name; | |
name = undefined; | |
} | |
var t = new Test(name, test.push); | |
pending ++; | |
t.on('testEnd', function () { | |
pending --; | |
process.nextTick(function () { | |
if (pending <= 0) t.push('end', {}); | |
harness.emit('end', t); | |
}); | |
}); | |
cb(t); | |
} has no method 'output' | |
at Function.<anonymous> (/Users/ryanstevens/.nvm/v0.4.7/lib/node_modules/testling/lib/run.js:19:18) | |
at Function.<anonymous> (/Users/ryanstevens/.nvm/v0.4.7/lib/node_modules/testling/node_modules/seq/index.js:447:24) | |
at Function.<anonymous> (/Users/ryanstevens/.nvm/v0.4.7/lib/node_modules/testling/node_modules/seq/index.js:210:38) | |
at action (/Users/ryanstevens/.nvm/v0.4.7/lib/node_modules/testling/node_modules/seq/index.js:76:11) | |
at Function.next (/Users/ryanstevens/.nvm/v0.4.7/lib/node_modules/testling/node_modules/seq/index.js:208:17) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All fixed in testling@0.0.1. Silly race condition setting the output plugin was responsible.