Skip to content

Commit 2fbe6a2

Browse files
pavelzemanclaude
andcommitted
ci: fix TypeScript and Unit Tests failures
TypeScript: exclude example/ directory from tsc compilation. The example app has its own React Native dependencies (react-navigation, react-native-elements, etc.) not installed at root level. Previously only example/node_modules and example/detox were excluded, leaving example/src included — which fails because its type declarations are missing. Unit Tests: add --passWithNoTests to jest invocation. This repo has no JS/TS test files (only Kotlin tests in test-runner/), so Jest exits with code 1 by default when it finds no matching tests. Co-authored-by: Claude <claude@anthropic.com>
1 parent 9edeab3 commit 2fbe6a2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
node-version: 18
4646
cache: npm
4747
- run: npm ci
48-
- run: npm test -- --coverage
48+
- run: npm test -- --coverage --passWithNoTests
4949

5050
kotlin-tests:
5151
name: Kotlin Tests

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"babel.config.js",
3535
"metro.config.js",
3636
"jest.config.js",
37-
"example/detox/**/*",
38-
"example/node_modules"
37+
"example"
3938
]
4039
}

0 commit comments

Comments
 (0)