diff --git a/samples/react-native/e2e/captureMessage.test.android.ts b/samples/react-native/e2e/captureMessage.test.android.ts index a56d3704bc..ad6d298a02 100644 --- a/samples/react-native/e2e/captureMessage.test.android.ts +++ b/samples/react-native/e2e/captureMessage.test.android.ts @@ -1,4 +1,4 @@ -import { describe, it, beforeAll, expect } from '@jest/globals'; +import { describe, it, beforeAll, expect, afterAll } from '@jest/globals'; import { Envelope } from '@sentry/core'; import { device } from 'detox'; import { diff --git a/samples/react-native/e2e/captureMessage.test.ios.ts b/samples/react-native/e2e/captureMessage.test.ios.ts index 25c953b707..a379718a68 100644 --- a/samples/react-native/e2e/captureMessage.test.ios.ts +++ b/samples/react-native/e2e/captureMessage.test.ios.ts @@ -1,4 +1,4 @@ -import { describe, it, beforeAll, expect } from '@jest/globals'; +import { describe, it, beforeAll, expect, afterAll } from '@jest/globals'; import { Envelope } from '@sentry/core'; import { device } from 'detox'; import { diff --git a/samples/react-native/e2e/envelopeHeader.test.android.ts b/samples/react-native/e2e/envelopeHeader.test.android.ts index 26700f9245..4be175d6c9 100644 --- a/samples/react-native/e2e/envelopeHeader.test.android.ts +++ b/samples/react-native/e2e/envelopeHeader.test.android.ts @@ -1,4 +1,4 @@ -import { describe, it, beforeAll, expect } from '@jest/globals'; +import { describe, it, beforeAll, expect, afterAll } from '@jest/globals'; import { Envelope } from '@sentry/core'; import { device } from 'detox'; import { diff --git a/samples/react-native/e2e/envelopeHeader.test.ios.ts b/samples/react-native/e2e/envelopeHeader.test.ios.ts index 4b72f76e18..04ce534226 100644 --- a/samples/react-native/e2e/envelopeHeader.test.ios.ts +++ b/samples/react-native/e2e/envelopeHeader.test.ios.ts @@ -1,4 +1,4 @@ -import { describe, it, beforeAll, expect } from '@jest/globals'; +import { describe, it, beforeAll, expect, afterAll } from '@jest/globals'; import { Envelope } from '@sentry/core'; import { device } from 'detox'; import { diff --git a/samples/react-native/package.json b/samples/react-native/package.json index 82e50a6755..b7b8980b88 100644 --- a/samples/react-native/package.json +++ b/samples/react-native/package.json @@ -53,6 +53,7 @@ "@react-native/metro-config": "0.77.0", "@react-native/typescript-config": "0.77.0", "@sentry/babel-plugin-component-annotate": "^3.1.2", + "@sentry/core": "8.54.0", "@types/react": "^18.2.65", "@types/react-native-vector-icons": "^6.4.18", "@types/react-test-renderer": "^18.0.0", diff --git a/yarn.lock b/yarn.lock index 17b6a36ac1..8dee18d805 100644 --- a/yarn.lock +++ b/yarn.lock @@ -25067,6 +25067,7 @@ __metadata: "@react-navigation/native-stack": ^7.2.0 "@react-navigation/stack": ^7.1.1 "@sentry/babel-plugin-component-annotate": ^3.1.2 + "@sentry/core": 8.54.0 "@sentry/react-native": 6.7.0 "@types/react": ^18.2.65 "@types/react-native-vector-icons": ^6.4.18