For a Node project test, I’m using Chai and expect
to make some test assertions
Here is an example:
expect(myConditionBoolean, `myConditionBoolean MUST be true !`).to.be.true;
IntelliJ IDE marks this line with two warnings:
- on
be
(unresolved variable be
); and - on
true
(Unresolved variable true
).
How am I supposed to fix this issue ?
1