about summary refs log tree commit diff
path: root/src/state/models/ui
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-10-10 15:46:27 -0700
committerGitHub <noreply@github.com>2023-10-10 15:46:27 -0700
commit0b44af38eaf6f53e7abf6c1c559ab3419e7b0bbc (patch)
tree51753833831d1e110eb0c4ab24de51e1df997e9f /src/state/models/ui
parentaad8d12ededa49d5c69e4ddf85993425723be8dd (diff)
downloadvoidsky-0b44af38eaf6f53e7abf6c1c559ab3419e7b0bbc.tar.zst
Update testrunner to use new dev-env [WIP] (#1575)
* Update testrunner to use new dev-env

* Fix label testcase

* Vendor the dev-infra scripts from the atproto repo for the dev-env server runner

* Bump detox to fix the ios sim control issue

* Use iphone 15 pro for tests

* Ensure the reminders never trigger during tests

* Skip the shell tests due to a crash bug with detox and the drawer
Diffstat (limited to 'src/state/models/ui')
-rw-r--r--src/state/models/ui/reminders.e2e.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/state/models/ui/reminders.e2e.ts b/src/state/models/ui/reminders.e2e.ts
new file mode 100644
index 000000000..ec0eca40d
--- /dev/null
+++ b/src/state/models/ui/reminders.e2e.ts
@@ -0,0 +1,24 @@
+import {makeAutoObservable} from 'mobx'
+import {RootStoreModel} from '../root-store'
+
+export class Reminders {
+  constructor(public rootStore: RootStoreModel) {
+    makeAutoObservable(
+      this,
+      {serialize: false, hydrate: false},
+      {autoBind: true},
+    )
+  }
+
+  serialize() {
+    return {}
+  }
+
+  hydrate(_v: unknown) {}
+
+  get shouldRequestEmailConfirmation() {
+    return false
+  }
+
+  setEmailConfirmationRequested() {}
+}