For a NodeJS project test, I’m using chai (doc) and expect
to make some test assertions
Here is an example :
<code>expect(myConditionBoolean, `myConditionBoolean MUST be true !`).to.be.true;
</code>
<code>expect(myConditionBoolean, `myConditionBoolean MUST be true !`).to.be.true;
</code>
expect(myConditionBoolean, `myConditionBoolean MUST be true !`).to.be.true;
IntelliJ IDE mark this line with 2 warns :
- on
be
(unresolved variable be
) - and on
true
(Unresolved variable true
).
How am I supposed to fix this issue ?