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

jest-slack-integration

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-slack-integration - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

10

index.js

@@ -25,11 +25,3 @@ const readPkg = require('read-pkg')

}
bugsnag.notify(new Error('Test Results are in!'), {
metaData: {
'Test Result Data': testResults,
'Package Data': {
webhook: packageJson.jestSlackIntegration.webhookUrl,
bugnsagAPI: packageJson.jestSlackIntegration.bugsnagAPI
}
}
})
try {

@@ -36,0 +28,0 @@ await request(options)

38

lib/index.js

@@ -35,32 +35,22 @@ 'use strict';

};
bugsnag.notify(new Error('Test Results are in!'), {
metaData: {
'Test Result Data': testResults,
'Package Data': {
webhook: packageJson.jestSlackIntegration.webhookUrl,
bugnsagAPI: packageJson.jestSlackIntegration.bugsnagAPI
}
}
});
_context.prev = 8;
_context.next = 11;
_context.prev = 7;
_context.next = 10;
return request(options);
case 11:
_context.next = 16;
case 10:
_context.next = 15;
break;
case 13:
_context.prev = 13;
_context.t0 = _context['catch'](8);
case 12:
_context.prev = 12;
_context.t0 = _context['catch'](7);
bugsnag.notify(_context.t0);
case 16:
_context.next = 21;
case 15:
_context.next = 20;
break;
case 18:
_context.prev = 18;
case 17:
_context.prev = 17;
_context.t1 = _context['catch'](0);

@@ -70,6 +60,6 @@

case 21:
case 20:
return _context.abrupt('return', testResults);
case 22:
case 21:
case 'end':

@@ -79,3 +69,3 @@ return _context.stop();

}
}, _callee, undefined, [[0, 18], [8, 13]]);
}, _callee, undefined, [[0, 17], [7, 12]]);
}));

@@ -82,0 +72,0 @@

{
"name": "jest-slack-integration",
"version": "1.0.9",
"version": "1.0.10",
"description": "This script allows you to post test results to slack",

@@ -5,0 +5,0 @@ "main": "index.js",

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