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
I am new to unit testing but I want to check and make sure dependencies are being added properly by checking my package.json. I have this (coffeescript) code:
to test if coffeescript is being added to the package.json, but it seems that this will always show up as true even if I intentionally break it. Is there a way to test if a key exists in a json file without knowing the exact value (as it changes regularly)?
The text was updated successfully, but these errors were encountered:
Hello,
I am new to unit testing but I want to check and make sure dependencies are being added properly by checking my
package.json
. I have this (coffeescript) code:to test if coffeescript is being added to the
package.json
, but it seems that this will always show up as true even if I intentionally break it. Is there a way to test if a key exists in a json file without knowing the exact value (as it changes regularly)?The text was updated successfully, but these errors were encountered: