Add tests and search simulator TUI

This commit is contained in:
Tanner
2026-09-08 17:55:40 +00:00
parent ba13d435df
commit f780ed220c
15 changed files with 868 additions and 9 deletions
+12
View File
@@ -0,0 +1,12 @@
export const writable = <T>(value: T) => ({
subscribe(run: (value: T) => void) {
run(value)
return () => undefined
},
set(next: T) {
value = next
},
update(updateValue: (value: T) => T) {
value = updateValue(value)
},
})