Skip to content

Commit

Permalink
0.6.0
Browse files Browse the repository at this point in the history
Summary: Updated the Changelog and also the Contributing guide (copied from Relay :) ). This is a big release!

public

Reviewed By: amasad, voideanvalue

Differential Revision: D2568010

fb-gh-sync-id: 79e1b82ea4a61f642c2eca62faa9c25618c2fbc6
  • Loading branch information
cpojer authored and facebook-github-bot-3 committed Oct 21, 2015
1 parent 93bb520 commit 7d05c71
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 19 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,7 @@
## 0.6.0

* jest now reports the number of tests that were run instead of the number of test files.
* Added a `--json` option to print test results as JSON.
* Changed the preprocessor API. A preprocessor now receives the script, file and
config. The cache key function receives the script, file and stringified
config to be able to create consistent hashes.
Expand Down
40 changes: 22 additions & 18 deletions CONTRIBUTING.md
@@ -1,6 +1,10 @@
# Contributing to Jest

Jest is one of Facebook's first open source projects that is both under very active development and is also being used to ship code to everybody on facebook.com. We're still working out the kinks to make contributing to this project as easy and transparent as possible, but we're not quite there yet. Hopefully this document makes the process for contributing clear and preempts some questions you may have.
Jest is one of Facebook's open source projects that is both under very active development and is also being used to ship code to everybody on [facebook.com](https://www.facebook.com). We're still working out the kinks to make contributing to this project as easy and transparent as possible, but we're not quite there yet. Hopefully this document makes the process for contributing clear and answers some questions that you may have.

## [Code of Conduct](https://code.facebook.com/codeofconduct)

Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read [the full text](https://code.facebook.com/codeofconduct) so that you can understand what actions will and will not be tolerated.

## Our Development Process

Expand All @@ -17,46 +21,46 @@ The core team will be monitoring for pull requests. When we get one, we'll run s
*Before* submitting a pull request, please make sure the following is done…

1. Fork the repo and create your branch from `master`.
2. If you've added code that should be tested, add tests!
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes (`npm test`).
5. If you haven't already, complete the CLA.

### Contributor License Agreement ("CLA")
### Contributor License Agreement (CLA)

In order to accept your pull request, we need you to submit a CLA. You only need to do this once, so if you've done this for another Facebook open source project, you're good to go. If you are submitting a pull request for the first time, just let us know that you have completed the CLA and we can cross-check with your GitHub username.

Complete your CLA here: <https://code.facebook.com/cla>
[Complete your CLA here.](https://code.facebook.com/cla)

## Bugs
### Bugs

### Where to Find Known Issues

We will be using GitHub Issues for our public bugs. We will keep a close eye on this and try to make it clear when we have an internal fix in progress. Before filing a new task, try to make sure your problem doesn't already exist.
We will be using GitHub Issues for our public bugs. We will keep a close eye on this and try to make it clear when we have an internal fix in progress. Before filing a new issue, try to make sure your problem doesn't already exist.

### Reporting New Issues

The best way to get your bug fixed is to provide a reduced test case. jsFiddle, jsBin, and other sites provide a way to give live examples.
The best way to get your bug fixed is to provide a reduced test case. Please provide a public repository with a runnable example.

### Security Bugs

Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe disclosure of security bugs. With that in mind, please do not file public issues and go through the process outlined on that page.
Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe disclosure of security bugs. With that in mind, please do not file public issues; go through the process outlined on that page.

## How to Get in Touch

* IRC - [#jestjs on freenode](http://webchat.freenode.net/?channels=jestjs)
* Mailing list - [jestjs on Google Groups](http://groups.google.com/group/jestjs)
* Discord - [#jest](https://discordapp.com/channels/102860784329052160/103622435865104384) on [Reactiflux](http://www.reactiflux.com/)

## Coding Style
### Code Conventions

* 2 spaces for indentation (no tabs).
* 80 character line length strongly preferred.
* Prefer `'` over `"`.
* ES2015 syntax when possible.
* `'use strict';`.
* Use [Flow types](http://flowtype.org/).
* Use semicolons;
* Commas last,
* 2 spaces for indentation (no tabs)
* Prefer `'` over `"`
* `'use strict';`
* 80 character line length
* "Attractive"
* Do not use the optional parameters of `setTimeout` and `setInterval`
* Trailing commas,
* Avd abbr wrds.

## License

Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -51,6 +51,7 @@ Check out the [Getting Started](http://facebook.github.io/jest/docs/getting-star
- [`config.globals` [object]](http://facebook.github.io/jest/docs/api.html#config-globals-object)
- [`config.moduleFileExtensions` [array<string>]](http://facebook.github.io/jest/docs/api.html#config-modulefileextensions-array-string)
- [`config.modulePathIgnorePatterns` [array<string>]](http://facebook.github.io/jest/docs/api.html#config-modulepathignorepatterns-array-string)
- [`config.moduleNameMapper` [object<string, string>]](http://facebook.github.io/jest/docs/api.html#config-modulenamemapper-object-string-string)
- [`config.preprocessCachingDisabled` [boolean]](http://facebook.github.io/jest/docs/api.html#config-preprocesscachingdisabled-boolean)
- [`config.rootDir` [string]](http://facebook.github.io/jest/docs/api.html#config-rootdir-string)
- [`config.scriptPreprocessor` [string]](http://facebook.github.io/jest/docs/api.html#config-scriptpreprocessor-string)
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "jest-cli",
"description": "Painless JavaScript Unit Testing.",
"version": "0.6.0-alpha",
"version": "0.6.0",
"main": "src/jest.js",
"dependencies": {
"coffee-script": "^1.10.0",
Expand Down

0 comments on commit 7d05c71

Please sign in to comment.