Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 1.3] [Backport 1.x] Docs (Jest): Update jest documentation links #3939

Merged
merged 1 commit into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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