Skip to content

Fix "Expression statement is not assignment" linter issue#3

Open
PaulRBerg wants to merge 1 commit intodafortune:masterfrom
PaulRBerg:master
Open

Fix "Expression statement is not assignment" linter issue#3
PaulRBerg wants to merge 1 commit intodafortune:masterfrom
PaulRBerg:master

Conversation

@PaulRBerg
Copy link
Copy Markdown

@PaulRBerg PaulRBerg commented Apr 16, 2018

Fixes chaijs/chai#41. Without this fix the linter throws a warning: expression statement is not assignment.

After my PR is merged you can use this package like this:

let val = generateToken(user)
val.should.eventually.be.a.jwt()

@PaulRBerg PaulRBerg changed the title Update index.js Fix "Expression statement is not assignment" linter issue Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow writing JSLint/JSHint friendly tests

1 participant