karma-tap
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "karma-tap", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "adapter from karma to the tape testing framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
var createStartFn = function(tc, env) { | ||
var numResults = 0; | ||
var res = []; | ||
var startTime = new Date().getTime(); | ||
var parse_stream = tapParser(function(results) { | ||
tc.info({ total: numResults }); | ||
for (var i = 0, len = res.length; i < len; i++) { | ||
tc.result(res[i]); | ||
} | ||
tc.complete({ | ||
@@ -10,7 +15,8 @@ coverage: window.__coverage__ | ||
numResults++; | ||
tc.result({ | ||
res.push({ | ||
description: assertion.name, | ||
success: assertion.ok, | ||
log: [], | ||
suite: [] | ||
suite: [], | ||
time: new Date().getTime() - startTime | ||
}); | ||
@@ -17,0 +23,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125459
3611