Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Jest expect type destroyed #1

Closed
HamedFathi opened this issue Oct 10, 2018 · 1 comment
Closed

Jest expect type destroyed #1

HamedFathi opened this issue Oct 10, 2018 · 1 comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@HamedFathi
Copy link
Member

The expect types from Cypress (which includes Chai type definition) clashes with Jest expect type definitions.

We can not use Jest expect type intellisense in Typescript.
For removing errors I declare a variable

declare let expect: any;

but It should fix in the future.

Related linkes:
Using Jest matchers in Cypress
Jest with Cypress

@HamedFathi HamedFathi added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels Oct 10, 2018
@HamedFathi HamedFathi changed the title Jest expect type destroyed Jest expect type destroyed Oct 10, 2018
@HamedFathi
Copy link
Member Author

HamedFathi commented Jan 17, 2019

Fixed here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant