Skip to content

Commit

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




(cherry picked from commit 3bd2fb1)

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 c9b119d commit e86418f
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 @@ -40,7 +40,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 @@ -40,7 +40,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 @@ -55,7 +55,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 e86418f

Please sign in to comment.