about summary refs log tree commit diff
path: root/tsconfig.e2e.json
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2024-01-04 17:33:57 -0800
committerGitHub <noreply@github.com>2024-01-04 17:33:57 -0800
commit34817628e12d9bce2ba4136e192e3163d7aa0eee (patch)
tree3c4e0224f0a3913eedabddc313f346c9c3b12403 /tsconfig.e2e.json
parent67e70918e33fc7e4fb2bcadc118f49128faf9201 (diff)
downloadvoidsky-34817628e12d9bce2ba4136e192e3163d7aa0eee.tar.zst
E2E runner fixes (#2428)
* Fix mock-server run script

* Bump detox

* Replace fetch with node-native api
Diffstat (limited to 'tsconfig.e2e.json')
-rw-r--r--tsconfig.e2e.json46
1 files changed, 46 insertions, 0 deletions
diff --git a/tsconfig.e2e.json b/tsconfig.e2e.json
new file mode 100644
index 000000000..f61dffbab
--- /dev/null
+++ b/tsconfig.e2e.json
@@ -0,0 +1,46 @@
+{
+  "compilerOptions": {
+    "target": "esnext",
+    "module": "commonjs",
+    "types": ["react-native", "jest"],
+    "lib": [
+      "es2019",
+      "es2020.bigint",
+      "es2020.date",
+      "es2020.number",
+      "es2020.promise",
+      "es2020.string",
+      "es2020.symbol.wellknown",
+      "es2021.promise",
+      "es2021.string",
+      "es2021.weakref",
+      "es2022.array",
+      "es2022.object",
+      "es2022.string"
+    ],
+    "allowJs": true,
+    "jsx": "react-native",
+    "noEmit": true,
+    "isolatedModules": true,
+    "strict": true,
+    "moduleResolution": "node",
+    "resolveJsonModule": true,
+    "allowSyntheticDefaultImports": true,
+    "forceConsistentCasingInFileNames": false,
+    "esModuleInterop": true,
+    "paths": {
+      "#/*": ["./src/*"],
+      "lib/*": ["./src/lib/*"],
+      "platform/*": ["./src/platform/*"],
+      "state/*": ["./src/state/*"],
+      "view/*": ["./src/view/*"],
+      "crypto": ["./src/platform/crypto.ts"]
+    }
+  },
+  "exclude": [
+    "node_modules",
+    "babel.config.js",
+    "metro.config.js",
+    "jest.config.js"
+  ]
+}
\ No newline at end of file