Skip to content

Commit 51c0c85

Browse files
committed
cr feedback
1 parent 7038224 commit 51c0c85

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/tests/src/iosPbxproj.test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ describe('iOS project.pbxproj Configuration', () => {
1515
let projectContent: string;
1616

1717
beforeAll(() => {
18-
projectContent = fs.readFileSync(projectPath, 'utf8');
18+
try {
19+
projectContent = fs.readFileSync(projectPath, 'utf8');
20+
} catch (error) {
21+
throw new Error(
22+
`Failed to read iOS project file at ${projectPath}: ${error instanceof Error ? error.message : String(error)}`,
23+
);
24+
}
1925
});
2026

2127
it('uses the correct bundle identifier', () => {

0 commit comments

Comments
 (0)