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

without "@types/chai" my IDE didn't recognize some attributes #1613

Open
boly38 opened this issue May 4, 2024 · 0 comments
Open

without "@types/chai" my IDE didn't recognize some attributes #1613

boly38 opened this issue May 4, 2024 · 0 comments
Labels

Comments

@boly38
Copy link

boly38 commented May 4, 2024

hi,

for this line expect(myBoolean).to.be.true;
My IDE triggers two warnings:

  • on be (unresolved variable be); and
  • on true (Unresolved variable true)

I had asked a question on stackoverflow on how to fix and the fix was simply to add chai type : npm install --save-dev @types/chai

Is it possible to add a notice about this requirement or helper in chai (nodejs) install doc ?

Thanks for this amazing library 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants