Externshelp wanted
仓库指标
- Star
- (7,176 star)
- PR 合并指标
- (平均合并 3天 4小时) (30 天内合并 1 个 PR)
描述
I've found that many Closure externs are out of date for Jasmine. Specifically, I see:
- Many custom matcher types are missing, including:
CustomMatcherFactoriesMatchersUtilCustomEqualityTesterCustomMatcher
- Jasmine's pretty print utility is missing (
jasmine.pp()) - Most matcher functions (
toBe(),toEqual(), etc.) accept an optional string to use as an error message if the expectation fails. This is also missing. - Likely others...
Without these types, custom matchers are basically impossible. Would be great to see these types updated.
See: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/jasmine/index.d.ts