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
expect(true).// here Ctrl+Space must shows not, toBeDefined, etc
expect is a function which returns a custom function (because jasmine matchers can be dynamic).
"expect": {
"!type": "fn(value: ?) -> !custom:jasmineExpect",
"!doc": "Expectations are built with the function expect which takes a value, called the actual. It is chained with a Matcher function, which takes the expected value."
},
I'm writing a tern plugin for jasmine https://github.com/angelozerr/tern-jasmine
I can manage this case :
expect is a function which returns a custom function (because jasmine matchers can be dynamic).
See https://github.com/angelozerr/tern-jasmine/blob/master/jasmine.js#L146
The
not
matcher must return the matchers list too like expect function (`not', 'toBeDefined', etc, So I have written :But as
not
matcher is a property and not a function, it doesn't work.I would like to manage that :
@marijnh have you an idea how to I could manage not case?
The text was updated successfully, but these errors were encountered: