Skip to content

Commit 37f962e

Browse files
authored
sentry: make upgrade instructions more action-orientated (#1708)
1 parent 587c82c commit 37f962e

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

test/unit/external/sentry.js

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,23 @@ describe('sentry', () => {
66

77
// Note, this test may break for the following reasons:
88
//
9-
// * Sentry does not have a documented way to check the enabled integrations,
10-
// so this test may break due to changing internals of the @sentry/node
11-
// module.
12-
// * Sentry may change the default integrations. In the case of new default
13-
// integrations, consider if they should be added to the expected list
14-
// below. In the case of default integrations being removed, consider if
15-
// they should be re-enabled manually.
9+
// 1. Sentry does not have a documented way to check the enabled integrations,
10+
// so this test may break due to changing internals of the @sentry/node
11+
// module. In this case, you will need to find a new way to check Sentry's
12+
// enabled integrations, and update this test to use the new approach.
13+
//
14+
// 2. Sentry may change the default integrations.
15+
//
16+
// In the case of new default integrations, consider if they are relevant.
17+
//
18+
// * if yes: add them to the list of expected integrations below
19+
// * if no: disable them in lib/external/sentry.js
20+
//
21+
// In the case of default integrations being removed, consider if they should
22+
// be re-enabled manually.
23+
//
24+
// * if yes: re-enable them in lib/external/sentry.js
25+
// * if no: remove them from the list below
1626

1727
const config = {
1828
project: 1,

0 commit comments

Comments
 (0)