Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

karma-tap

Package Overview
Dependencies
Maintainers
31
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-tap - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"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 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc