Skip to content

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

@boly38

Description

@boly38

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 πŸ‘

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions