Skip to content

Commit 3dc1e36

Browse files
committed
chore(react-native): fix nightly
1 parent ec6b707 commit 3dc1e36

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

e2e/react-native/src/react-native.test.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,12 @@ describe('@nx/react-native', () => {
9797
}
9898

9999
// port and process cleanup
100-
if (process && process.pid) {
101-
await killProcessAndPorts(process.pid, port);
100+
try {
101+
if (process && process.pid) {
102+
await killProcessAndPorts(process.pid, port);
103+
}
104+
} catch (err) {
105+
expect(err).toBeFalsy();
102106
}
103107
});
104108

0 commit comments

Comments
 (0)