andrew-pyle and thymikee Standardize filenames in packages/jest circus (#7301)
* Rename event_handler -> eventHandler. Function & Mocks

* Rename error_handlers -> globalErrorHandlers. File & imports

* Rename format_node_assert_errors -> formatNodeAssertErrors

- File, Function & Imports renamed
- `export default (...` changed to
  `const formatNodeAssertErrors = (...` with
  `export default formatNodeAssertErrors` at end of file

* Rename test_utils & runTest -> testUtils

- Rename file, function, imports, mocks, & tests

* Rename after_all.test.js -> afterAll.test.js

- Rename file only

* Rename after_all.test.js.snap -> afterAll.test.js.snap

- Forgot snapshot when renaming afterAll.test.js
- Rename snapshot to match test filename

* Rename base_test.test.js -> baseTest.test.js

- Rename file & snap

* Rename circus_it_test_error.test.js -> circusItTestError.test.js

* Rename circus_todo_test_error.test.js -> CircusItTodoTestError.test.js

- Added "it" to name to match CircusItTestError.test.js
- Rename file

* Rename hooks_error.test.js -> hooksError.test.js

- Rename file

* Rename legacy_code_todo_rewrite -> legacy-code-todo-rewrite

- Directory names should use dashes

* Add CHANGELOG.md entry

* Fix broken link to legacy-code-todo-rewrite/ in jest-circus/runner.js

* Revert export in testUtils.js to runTest per @thymikee's request

* Rename files in legacy-code-todo-rewrite/

- jest_adapter.js      -> jestAdapter.js
- jest_adapter_init.js -> jestAdapterInit.js
- jest_expect.js       -> jestExpect.js
- Fixed imports within directory and in runner.js
Latest commit 2f32100 Oct 31, 2018

README.md

jest-circus

The next-gen test runner for Jest

Overview

Circus is a flux-based test runner for Jest that is fast, easy to maintain, and simple to extend.

Installation

Install jest-circus using yarn:

yarn add --dev jest-circus

Or via npm:

npm install --save-dev jest-circus

Configure

Configure Jest to use jest-circus via the testRunner option:

{
  "testRunner": "jest-circus/runner"
}

Or via CLI:

jest --testRunner='jest-circus/runner'