You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two problems I've encountered relating to the name of this package:
1.) I easily overlooked that the function name didn't match the package so incorrectly attempted installing with npm install expect which is actually a different package. Once I got the correct package, I still tripped over having to assign the function to a variable with a different name in order to execute.
2.) I can't use the --require option of mocha with expect.js because the function name needs to match the package.
Proposal: Convince onirame to relinquish the name of expect to you. His module appears to be pretty thin and unmaintained for three months. A lesser alternative would be to rename the package and the calling function to something else like 'expectjs' or 'expectthis'.
The text was updated successfully, but these errors were encountered:
Two problems I've encountered relating to the name of this package:
1.) I easily overlooked that the function name didn't match the package so incorrectly attempted installing with
npm install expect
which is actually a different package. Once I got the correct package, I still tripped over having to assign the function to a variable with a different name in order to execute.2.) I can't use the --require option of mocha with expect.js because the function name needs to match the package.
Proposal: Convince onirame to relinquish the name of expect to you. His module appears to be pretty thin and unmaintained for three months. A lesser alternative would be to rename the package and the calling function to something else like 'expectjs' or 'expectthis'.
The text was updated successfully, but these errors were encountered: