mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-04-12 03:48:42 +00:00
Fix mock for testing
This commit is contained in:
@@ -481,8 +481,14 @@ export class Plugin {
|
||||
}
|
||||
|
||||
export class Notice {
|
||||
private _key:number;
|
||||
private static _counter = 0;
|
||||
constructor(message: string) {
|
||||
console.log("Notice:", message);
|
||||
this._key = Notice._counter++;
|
||||
console.log(`Notice [${this._key}]:`, message);
|
||||
}
|
||||
setMessage(message: string) {
|
||||
console.log(`Notice [${this._key}]:`, message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user