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

feat: add reference for jest-extended in typings.spec.d.ts #1371

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

kepek
Copy link
Contributor

@kepek kepek commented Feb 14, 2023

Add /// <reference types="jest-extended" /> due to the fact that some editors (ie. WebStorm) do not recognizes the custom jest-extended matchers properly.

PR Type

[x] Code style update (formatting, local variables)

What Is the Current Behavior?

Currently, some editors do not recognize jest-extended matchers.

For example:

TS2551: Property 'toBeFalse' does not exist on type 'JestMatchers<boolean>'. Did you mean 'toBeFalsy'?

What Is the New Behavior?

Editor properly recognize jest-extended matchers without any hassle.

Does this PR Introduce a Breaking Change?

[ ] Yes
[X] No

Add `/// <reference types="jest-extended" />` due to the fact that some editors (WebStorm) do not recognize the custom jest-extended matchers properly.
@Eisie96 Eisie96 self-requested a review February 16, 2023 08:49
@SGrueber
Copy link
Collaborator

@kepek Thank you for your contribution !

@SGrueber SGrueber merged commit 466283c into intershop:develop Feb 16, 2023
@shauke shauke added this to the 4.0 milestone Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants