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

console-fail-test

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-fail-test - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

package.json

@@ -36,4 +36,4 @@ {

},
"version": "0.1.3",
"version": "0.1.4",
"dependencies": {}
}

@@ -259,3 +259,3 @@ # console-fail-test

By default, `console-fail-test` will error on _any_ called `console` method. If you'd like ignore certain methods, pass a `console` object to the `cft` API when you set it up:
By default, `console-fail-test` will error on _any_ called `console` method. If you'd like allow certain methods, pass a `console` object to the `cft` API when you set it up:

@@ -265,3 +265,3 @@ ```js

console: {
warn: false, // won't error on any instance of console.warn
warn: true, // won't error on any instance of console.warn
},

@@ -268,0 +268,0 @@ });

@@ -13,3 +13,3 @@ "use strict";

const methodSpies = {};
const relevantMethodNames = console_1.consoleMethodNames.filter((name) => !!request.console[name]);
const relevantMethodNames = console_1.consoleMethodNames.filter((name) => !request.console[name]);
testEnvironment.before(() => {

@@ -16,0 +16,0 @@ for (const methodName of relevantMethodNames) {

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