mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-28 19:52:53 +00:00
Updated interface for Clock with mockDate() fn
This commit is contained in:
parent
76e1dedf0b
commit
e2332f6e50
1
jasmine/jasmine.d.ts
vendored
1
jasmine/jasmine.d.ts
vendored
@ -107,6 +107,7 @@ declare module jasmine {
|
||||
uninstall(): void;
|
||||
/** Calls to any registered callback are triggered when the clock is ticked forward via the jasmine.clock().tick function, which takes a number of milliseconds. */
|
||||
tick(ms: number): void;
|
||||
mockDate(date?: Date): void;
|
||||
}
|
||||
|
||||
interface CustomEqualityTester {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user