Skip to content

[jest-plugin-set] Eslint support? #96

Description

@hakunin

Description

Eslint will complain about undefined variabels when using jest-plugin-set.
Is there a way to work around that?
So far I've had to turn the no-undef rule off for my tests.

Screenshot

xyz/models/__tests__/Plan-test.js
  32:23  error  'organization' is not defined  no-undef
  32:40  error  'free_plan' is not defined     no-undef
  35:39  error  'organization' is not defined  no-undef
  36:17  error  'free_plan' is not defined     no-undef

✖ 4 problems (4 errors, 0 warnings)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions