This commit is contained in:
Klaus Meinhardt
2019-01-18 23:30:01 +01:00
parent 3adb978f36
commit e1d8dcb4f6

View File

@@ -725,12 +725,12 @@ describe("A spy, when created manually", () => {
describe("Multiple spies, when created manually", () => {
class Tape {
private rewindTo: number;
play(): void { };
pause(): void { };
play(): void { }
pause(): void { }
rewind(pos: number): void {
this.rewindTo = pos;
};
stop(): void { };
}
stop(): void { }
readonly isPlaying: boolean; // spy obj makes this writable
}