Have ideas to improve npm?Join in the discussion! »

ebddTypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

EBDD · npm version

Installation

npm install --save-dev ebdd

To install TypeScript types, run

npm install --save-dev @types/ebdd@npm: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

Install

npm i ebdd

DownloadsWeekly Downloads

243

Version

0.7.0

License

ISC

Unpacked Size

34.5 kB

Total Files

6

Last publish

Collaborators

  • avatar