UNPKG

coffeelint-no-chai-getters

Version:

Coffeelint rule that detects code using a chai getter without function invocation

14 lines (11 loc) 385 B
describe 'some dope test', -> it 'heres a cool case', => expect(someSpy).ok expect(someSpy).ok() expect(funcCallAllowingSpaces(x, y)).ok expect(funcCallAllowingSpaces('abc d')).ok expect(funcCallAllowingSpaces('abc d')).ok() expectIsSomeFunction(somethingElse).ok something.derp expect(4).eq 4 # misleading comment ending in ok return