Skip to content

Commit efb115c

Browse files
committed
fix node 10 tests
1 parent c658083 commit efb115c

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

scripts/node-unit-tests.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ const DEFAULT_SKIP_TESTS_PACKAGES = [
1616
];
1717

1818
// These packages don't support Node 8 for syntax or dependency reasons.
19-
const NODE_8_SKIP_TESTS_PACKAGES = ['@sentry/gatsby', '@sentry/serverless', '@sentry/nextjs', '@sentry/remix', '@sentry/sveltekit'];
19+
const NODE_8_SKIP_TESTS_PACKAGES = [
20+
'@sentry/gatsby',
21+
'@sentry/serverless',
22+
'@sentry/nextjs',
23+
'@sentry/remix',
24+
'@sentry/sveltekit',
25+
];
2026

2127
// We have to downgrade some of our dependencies in order to run tests in Node 8 and 10.
2228
const NODE_8_LEGACY_DEPENDENCIES = [
@@ -29,14 +35,18 @@ const NODE_8_LEGACY_DEPENDENCIES = [
2935
];
3036

3137
const NODE_10_SKIP_TESTS_PACKAGES = ['@sentry/remix', '@sentry/sveltekit'];
32-
const NODE_10_LEGACY_DEPENDENCIES = ['[email protected]', '[email protected]'];
38+
const NODE_10_LEGACY_DEPENDENCIES = [
39+
40+
41+
42+
43+
];
3344

3445
const NODE_12_SKIP_TESTS_PACKAGES = ['@sentry/remix', '@sentry/sveltekit'];
3546
const NODE_12_LEGACY_DEPENDENCIES = ['[email protected]'];
3647

3748
const NODE_14_SKIP_TESTS_PACKAGES = ['@sentry/sveltekit'];
3849

39-
4050
type JSONValue = string | number | boolean | null | JSONArray | JSONObject;
4151

4252
type JSONObject = {

0 commit comments

Comments
 (0)