File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ declare global {
2727 const Matchers : Matchers
2828 const Spec : any
2929 const FakeTimer : any
30- const undefined : undefined
30+ const undefined : undefined // Legacy Jasmine 1.x sentinel value
3131
3232 let browserSupportsProtoAssignment : any
3333 let ieVersion : any
@@ -41,19 +41,21 @@ declare global {
4141 toHaveCheckedStates ( expectedValues : any ) : boolean
4242 toThrowContaining ( expected : any ) : boolean
4343 toEqualOneOf ( expectedPossibilities : any ) : boolean
44- toContainHtml ( expectedHtml : any , postProcessCleanedHtml : any ) : boolean
44+ toContainHtml ( expectedHtml : any , postProcessCleanedHtml ? : any ) : boolean
4545 toHaveSelectedValues ( expectedValues : any ) : boolean
46- toContainHtml ( expectedValues : any ) : boolean
4746 toHaveNodeTypes ( expectedTypes : any ) : boolean
4847 toContainHtmlElementsAndText ( expectedHtml : any ) : boolean
4948 }
5049
5150 interface Clock {
5251 mockScheduler : any
52+ reset ( ) : void
53+ useMock ( ) : void
5354 }
5455
5556 interface Spy {
5657 reset ( ) : any
58+ andCallFake ( fn : Function ) : Spy
5759 }
5860 }
5961
Original file line number Diff line number Diff line change 1313 "type" : " MIT" ,
1414 "url" : " http://www.opensource.org/licenses/mit-license.php"
1515 }
16- ],
16+ ],
1717 "devDependencies" : {
1818 "@eslint/js" : " ^9.20.0" ,
1919 "@types/jasmine" : " ^1.3.7" ,
You can’t perform that action at this time.
0 commit comments