2.0.0 • Published 22 days ago

@eclipse-glsp/config-test v2.0.0

Weekly downloads
-
License
(EPL-2.0 OR GPL-2...
Repository
github
Last release
22 days ago

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 are used by all GLSP components implemented with Typescript. Mocha and nyc are included as direct dependencies.

Components

  • @eclipse-glsp/mocha: Shared Mocha configuration for GLSP projects
  • @eclipse-glsp/nyc: Shared nyc configuration for GLSP projects

Install

yarn add --dev @eclipse-glsp/config-test

Usage

Mocha

Create a .mocharc.json:

{
    "$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.