Skip to content

Commit

Permalink
Docs (Jest): Update jest documentation links (#3931) (#3940)
Browse files Browse the repository at this point in the history
(cherry picked from commit a947240)

Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 4f38c37 commit a525bcd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The eslint config used by the opensearch dashboards team

## Usage

To use this eslint config, just install the peer dependencies and reference it
To use this eslint config, just install the peer dependencies and reference it
in your `.eslintrc`:

```javascript
Expand All @@ -17,8 +17,8 @@ in your `.eslintrc`:

## Optional jest config

If the project uses the [jest test runner](https://facebook.github.io/jest/),
the `@elastic/eslint-config-kibana/jest` config can be extended as well to use
If the project uses the [jest test runner](https://jestjs.io),
the `@elastic/eslint-config-kibana/jest` config can be extended as well to use
`eslint-plugin-jest` and add settings specific to it:

```javascript
Expand Down
2 changes: 1 addition & 1 deletion scripts/jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
//
// node scripts/jest --coverage
//
// See all cli options in https://facebook.github.io/jest/docs/cli.html
// See all cli options in https://jestjs.io/docs/cli

var resolve = require('path').resolve;
process.argv.push('--config', resolve(__dirname, '../src/dev/jest/config.js'));
Expand Down
2 changes: 1 addition & 1 deletion scripts/jest_integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
//
// node scripts/jest_integration --coverage
//
// See all cli options in https://facebook.github.io/jest/docs/cli.html
// See all cli options in https://jestjs.io/docs/cli

var resolve = require('path').resolve;
process.argv.push('--config', resolve(__dirname, '../src/dev/jest/config.integration.js'));
Expand Down
2 changes: 1 addition & 1 deletion src/dev/jest/junit_reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default class JestJUnitReporter {
/**
* Called by jest when all tests complete
* @param {Object} contexts
* @param {JestResults} results see https://facebook.github.io/jest/docs/en/configuration.html#testresultsprocessor-string
* @param {JestResults} results see https://jestjs.io/docs/configuration/#testresultsprocessor-string
* @return {undefined}
*/
onRunComplete(contexts, results) {
Expand Down

0 comments on commit a525bcd

Please sign in to comment.