|
@@ -42,10 +42,10 @@ describe('python onboarding docs', function () {
|
|
|
|
|
|
// Does not render continuous profiling config
|
|
|
expect(
|
|
|
- screen.queryByText(textWithMarkupMatcher(/sentry_sdk.profiler.start_profiling\(\)/))
|
|
|
+ screen.queryByText(textWithMarkupMatcher(/sentry_sdk.profiler.start_profiler\(\)/))
|
|
|
).not.toBeInTheDocument();
|
|
|
expect(
|
|
|
- screen.queryByText(textWithMarkupMatcher(/sentry_sdk.profiler.stop_profiling\(\)/))
|
|
|
+ screen.queryByText(textWithMarkupMatcher(/sentry_sdk.profiler.stop_profiler\(\)/))
|
|
|
).not.toBeInTheDocument();
|
|
|
|
|
|
// Does render transaction profiling config
|
|
@@ -74,10 +74,10 @@ describe('python onboarding docs', function () {
|
|
|
|
|
|
// Does render continuous profiling config
|
|
|
expect(
|
|
|
- screen.queryByText(textWithMarkupMatcher(/sentry_sdk.profiler.start_profiling\(\)/))
|
|
|
+ screen.queryByText(textWithMarkupMatcher(/sentry_sdk.profiler.start_profiler\(\)/))
|
|
|
).toBeInTheDocument();
|
|
|
expect(
|
|
|
- screen.queryByText(textWithMarkupMatcher(/sentry_sdk.profiler.stop_profiling\(\)/))
|
|
|
+ screen.queryByText(textWithMarkupMatcher(/sentry_sdk.profiler.stop_profiler\(\)/))
|
|
|
).toBeInTheDocument();
|
|
|
});
|
|
|
});
|