mirror of
https://github.com/status-im/status-lib.git
synced 2025-01-10 20:46:30 +00:00
5285cf7d8c
abstract backend; add mock backend and testing move bookmarks to backend wrapper move bookmarks to backend wrapper move bookmarks to backend wrapper working version cleanup add mock backend add nimble task & test folder add evn.sh make test run; implement bookmark method in the mock add nim unit test removing duplicated statement that was causing tests to run twice re-enable other initilizations in the status object; support specifying backend in the constructor update bookmark test update bookmark test update nimble and makefile update nimble and makefile update bookmarks test remove old browser file
8 lines
161 B
Nim
8 lines
161 B
Nim
import backend_type
|
|
|
|
type BackendWrapper* = ref object
|
|
backend*: Backend
|
|
|
|
proc newBackendWrapperInstance*(): BackendWrapper =
|
|
result = BackendWrapper()
|