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.
@eclipse-glsp/mocha-config
: Shared Mocha configuration for GLSP projects@eclipse-glsp/nyc-config
: Shared nyc configuration for GLSP projects
yarn add --dev @eclipse-glsp/config-test
Create a .mocharc
:
{
"$schema": "https://json.schemastore.org/mocharc",
"extends": "@eclipse-glsp/mocha-config"
}
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.
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.