Get sketch-tests.spec.ts passing in electron

This commit is contained in:
49lf
2024-11-20 08:29:29 -05:00
parent 18f4da63a2
commit 8f0f4b539c
9 changed files with 184 additions and 103 deletions

View File

@ -57,6 +57,10 @@ export default class CodeManager {
return this._code
}
localStoragePersistCode(): string {
return safeLSGetItem(PERSIST_CODE_KEY)
}
registerCallBacks({ setCode }: { setCode: (arg: string) => void }) {
this.#updateState = setCode
}