1.3.9 • Published 1 day ago

@mongodb-js/mocha-config-compass v1.3.9

Weekly downloads
-
License
SSPL
Repository
github
Last release
1 day ago

@mongodb-js/mocha-config-compass

Shared mocha configuration for Compass packages.

Usage

For general-purpose packages install as dependency and add the following configuration file

// file:<package>/.mocharc.js
module.exports = require('@mongodb-js/mocha-config-compass');

This configuration activates the colors and sets default timeout to 15 seconds (helpful for CI runs). It also registers ts-node so that you can run tests written in typescript without compiling them first

For packages that are intended for the browser use the following configuration file

// file:<package>/.mocharc.js
module.exports = require('@mongodb-js/mocha-config-compass/react');

This configuration extends on the general-purpose one, but also adds jsdom to the environment and registers chai-dom helpers (if you don't have chai-dom types installed already you should add them with npm i -D @types/chai-dom)

1.3.9

6 days ago

1.3.8

27 days ago

1.3.7

2 months ago

1.3.6

4 months ago

1.3.5

4 months ago

1.3.4

5 months ago

1.3.3

5 months ago

1.3.2

6 months ago

1.3.1

8 months ago

1.3.0

8 months ago

1.2.1

9 months ago

1.2.0

11 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago

0.11.0

2 years ago

0.12.0

2 years ago

0.10.0

2 years ago

0.9.0

2 years ago

0.8.1

2 years ago

0.8.0

2 years ago

0.7.0

2 years ago

0.5.0

2 years ago

0.6.0

2 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago