Skip to content

Commit b1d8970

Browse files
authored
Merge pull request #11 from getsentry/chore/version/v4.0.0-alpha
chore(version): bump to v4.0.0-alpha.0
2 parents b5b5a89 + 75af834 commit b1d8970

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Adds Sentry performance monitoring to your jest test suites to find your slowest
1010
First, you will need to add the `jest-sentry-environment` package to your application, as well as the Sentry SDKs.
1111

1212
```bash
13-
npm install @sentry/node @sentry/tracing jest-sentry-environment
13+
npm install @sentry/node @sentry/tracing @sentry/profiling-node jest-sentry-environment
1414
```
1515

1616
Then, in your jest configuration file, e.g. `jest.config.js` you will need to specify the path to the environment as well as some options.
@@ -24,7 +24,8 @@ Then, in your jest configuration file, e.g. `jest.config.js` you will need to sp
2424
init: {
2525
dsn: '<your DSN here>'
2626
environment: !!process.env.CI ? 'ci' : 'local',
27-
tracesSampleRate: 1.0,
27+
tracesSampleRate: 1,
28+
profilesSampleRate: 1
2829
},
2930

3031
transactionOptions: {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jest-sentry-environment",
3-
"version": "3.0.0",
3+
"version": "4.0.0-alpha.0",
44
"description": "Automatic performance and profiling instrumentation for your jest tests.",
55
"scripts": {
66
"test": "npm test"

0 commit comments

Comments
 (0)