@eclipse-glsp/config-test
v2.3.0
Published
Meta package that provides Mocha and nyc configurations for GLSP projects
Downloads
655
Readme
Eclipse GLSP - Shared configuration for testing
Common shared configuration for testing Eclipse GLSP components that are implemented with Typescript. Provides a meta package that export common configuration objects for:
The package is available via npm and can be used by all GLSP components implemented with Typescript. Mocha and nyc are included as direct dependencies.
Components
@eclipse-glsp/mocha-config
: Shared Mocha configuration for GLSP projects@eclipse-glsp/nyc-config
: Shared nyc configuration for GLSP projects
Install
yarn add --dev @eclipse-glsp/config-test
Usage
Mocha
Create a .mocharc
:
{
"$schema": "https://json.schemastore.org/mocharc",
"extends": "@eclipse-glsp/mocha-config"
}
Nyc
Add a .nycrc.json
to your project root:
"@eclipse-glsp/prettier-config"
Configuration can also be provided by nyc.config.js
if programmed logic is required.
More information
For more information, please visit the Eclipse GLSP Umbrella repository and the Eclipse GLSP Website. If you have questions, please raise them in the discussions and have a look at our communication and support options.