Socket
Socket
Sign inDemoInstall

ebdd

Package Overview
Dependencies
72
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ebdd

Extended BDD interface for Mocha


Version published
Weekly downloads
223
increased by7333.33%
Maintainers
1
Install size
34.2 kB
Created
Weekly downloads
 

Readme

Source

EBDD · npm version

Installation

npm install --save-dev ebdd

Usage

Command line

Run Mocha with additional parameter --ui=ebdd.

Node.js

Just set ui to "ebdd" in Mocha options, e.g.

const mocha = new Mocha({ ui: "ebdd" });

If you are using TypeScript, import the ebbd module in your code to use ebdd type information.

import "ebdd";

or

import type { } from "ebdd";

Browser

Load the script ebbd.js in the ebbd package, then call mocha.setup with option ui set to "ebdd", e.g.

<script src="node_modules/mocha/mocha.js"></script>
<script src="node_modules/ebdd/ebdd.js"></script>
<script>
mocha.setup({ ui: "ebdd" });
</script>
<!-- Add tests here. -->
<script>
mocha.run();
</script>

Keywords

FAQs

Last updated on 10 Apr 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc