Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-jest-runner

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-jest-runner - npm Package Compare versions

Comparing version 0.5.0 to 0.5.2

10

CHANGELOG.md
## master
## 0.5.0
### Features
* Add support for the new test status `todo`, introduced in Jest 24 ([#14](https://github.com/jest-community/create-jest-runner/pull/14))
### Chore
* Upgrade to `jest-worker@24` ([#14](https://github.com/jest-community/create-jest-runner/pull/14))
## 0.4.0

@@ -4,0 +14,0 @@

6

package.json
{
"name": "create-jest-runner",
"version": "0.5.0",
"version": "0.5.2",
"main": "build/index.js",

@@ -22,2 +22,3 @@ "author": "Rogelio Guzman <rogelioguzmanh@gmail.com>",

"dependencies": {
"chalk": "^2.4.2",
"jest-worker": "^24.0.0",

@@ -40,3 +41,6 @@ "throat": "^4.1.0"

"prettier": "^1.7.4"
},
"bin": {
"create-jest-runner": "./generator/index.js"
}
}

@@ -55,3 +55,3 @@ # create-jest-runner

* `testResult`: Needs to be an object of type https://github.com/facebook/jest/blob/master/types/TestResult.js#L137-L165
* `testResult`: Needs to be an object of type https://github.com/facebook/jest/blob/4d3c1a187bd429fd8611f6b0f19e4aa486fa2a85/packages/jest-test-result/src/types.ts#L103-L135
* `Promise<testResult|Error>`: needs to be of above type.

@@ -92,2 +92,14 @@ * `Error`: good for reporting system error, not failed tests.

## Create runner from binary
```shell
yarn create jest-runner my-runner
# Or with npm
npm init jest-runner my-runner
```
**Note:** You will have to update the package name in `package.json` of the
generated runner
## Add your runner to Jest config

@@ -94,0 +106,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc