about summary refs log tree commit diff
path: root/jest/jestSetup.js
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-01-24 09:06:27 -0600
committerGitHub <noreply@github.com>2023-01-24 09:06:27 -0600
commit9027882fb401df2a9df6a89facb2bdb94b8b731b (patch)
treedc60ca1a2cc1be0838229f06b588f56871f2b91e /jest/jestSetup.js
parent439305b57e0c20799d87baf92c067ec8e262ea13 (diff)
downloadvoidsky-9027882fb401df2a9df6a89facb2bdb94b8b731b.tar.zst
Account switcher (#85)
* Update the account-create and signin views to use the design system.

Also:
- Add borderDark to the theme
- Start to an account selector in the signin flow

* Dark mode fixes in signin ui

* Track multiple active accounts and provide account-switching UI

* Add test tooling for an in-memory pds

* Add complete integration tests for login and the account switcher
Diffstat (limited to 'jest/jestSetup.js')
-rw-r--r--jest/jestSetup.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/jest/jestSetup.js b/jest/jestSetup.js
index b1f110a53..8f95062a9 100644
--- a/jest/jestSetup.js
+++ b/jest/jestSetup.js
@@ -25,19 +25,6 @@ jest.mock('react-native-safe-area-context', () => {
   }
 })
 
-jest.mock('@gorhom/bottom-sheet', () => {
-  const react = require('react-native')
-  return {
-    __esModule: true,
-    default: react.View,
-    namedExport: {
-      ...require('react-native-reanimated/mock'),
-      ...jest.requireActual('@gorhom/bottom-sheet'),
-      BottomSheetFlatList: react.FlatList,
-    },
-  }
-})
-
 jest.mock('rn-fetch-blob', () => ({
   config: jest.fn().mockReturnThis(),
   cancel: jest.fn(),