Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jest-community/eslint-plugin-jest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v24.3.0
Choose a base ref
...
head repository: jest-community/eslint-plugin-jest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v24.3.1
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Mar 13, 2021

  1. Copy the full SHA
    2b65b49 View commit details
  2. chore(release): 24.3.1 [skip ci]

    ## [24.3.1](v24.3.0...v24.3.1) (2021-03-13)
    
    ### Bug Fixes
    
    * **no-focused-tests:** report on `skip` instead of `concurrent` ([#791](#791)) ([2b65b49](2b65b49))
    semantic-release-bot committed Mar 13, 2021
    Copy the full SHA
    62749cd View commit details
Showing with 13 additions and 4 deletions.
  1. +7 −0 CHANGELOG.md
  2. +1 −1 package.json
  3. +2 −2 src/rules/__tests__/no-focused-tests.test.ts
  4. +3 −1 src/rules/no-focused-tests.ts
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [24.3.1](https://github.com/jest-community/eslint-plugin-jest/compare/v24.3.0...v24.3.1) (2021-03-13)


### Bug Fixes

* **no-focused-tests:** report on `skip` instead of `concurrent` ([#791](https://github.com/jest-community/eslint-plugin-jest/issues/791)) ([2b65b49](https://github.com/jest-community/eslint-plugin-jest/commit/2b65b491cea2c956e4ba314a809915b9ec62933b))

# [24.3.0](https://github.com/jest-community/eslint-plugin-jest/compare/v24.2.1...v24.3.0) (2021-03-13)


2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-jest",
"version": "24.3.0",
"version": "24.3.1",
"description": "Eslint rules for Jest",
"keywords": [
"eslint",
4 changes: 2 additions & 2 deletions src/rules/__tests__/no-focused-tests.test.ts
Original file line number Diff line number Diff line change
@@ -114,7 +114,7 @@ ruleTester.run('no-focused-tests', rule, {
errors: [
{
messageId: 'focusedTest',
column: 4,
column: 15,
line: 1,
suggestions: [
{
@@ -194,7 +194,7 @@ ruleTester.run('no-focused-tests', rule, {
errors: [
{
messageId: 'focusedTest',
column: 6,
column: 17,
line: 1,
suggestions: [
{
4 changes: 3 additions & 1 deletion src/rules/no-focused-tests.ts
Original file line number Diff line number Diff line change
@@ -99,7 +99,9 @@ export default createRule({
) {
context.report({
messageId: 'focusedTest',
node: calleeObject.property,
node: isConcurrentExpression(calleeObject)
? callee.property
: calleeObject.property,
suggest: [
{
messageId: 'suggestRemoveFocus',