3.5.1 • Published 9 months ago

@theholocron/jest-config v3.5.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
9 months ago

Jest Preset

A Jest preset for testing code within the Galaxy.

Installation

npm install --save-dev @theholocron/jest-preset

Usage

In your project package.json add the following:

{
	"jest": {
		"displayName": "<project>",
		"preset": "@theholocron/jest-config"
	}
}

How We Test

Currently we use Jest for our testing framework. There isn't much to our configuration that differs from what Jest provides out of the box with the following exceptions:

  • Coverage: we enforce coverage collection and require that all work be covered at least 80% at this time, with negligible reduction (< 1%) of coverage per PR
  • Directory Naming: while we do support the same regex that Jest provides, our convention is to co-locate all test files as close to the source as possible with the suffix of .test added.
3.5.1

9 months ago

3.4.4

9 months ago

3.4.0

9 months ago

3.3.0

9 months ago

3.4.3

9 months ago

3.4.2

9 months ago

3.4.1

9 months ago

3.2.1

9 months ago

3.2.0

9 months ago

3.1.0

9 months ago

3.0.0

9 months ago

1.16.0

9 months ago