New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@proof-ui/add-all-plugin

Package Overview
Dependencies
Maintainers
3
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@proof-ui/add-all-plugin

A plugin to add an empty test for each untested storybook story.

  • 0.3.6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
511
increased by26.49%
Maintainers
3
Weekly downloads
 
Created
Source

@proof-ui/add-all-plugin

A plugin to add an empty test for each untested storybook story.

Especially powerful when combined with the accessibility-plugin or the applitools-plugin to get full coverage of each story, even if there are no integration tests written already.

Installation

yarn add -D @proof-ui/add-all-plugin

Usage

// proof.config.js
import AddAllPlugin from '@proof-ui/add-all-plugin';

export default {
  plugins: [new AddAllPlugin()]
};
# Command Line Usage
proof --add-all

Options

You can configure the applitools-plugin through some options in it's constructor:

PropertyDescriptionType
filterA function to filter out which tests are added.function - (kind, story) => boolean

Example

To add all stories except ones called skip-me

import AddAllPlugin from '@proff/add-all-plugin';

new AddAllPlugin({
  filter(kind, story) {
    return story !== 'skip-me';
  }
});

FAQs

Package last updated on 06 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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