@devvit/tsconfig 0.11.0-next-2024-07-12-0f1c33b16.0 → 0.11.0-next-2024-07-15-adba61cda.0
Sign up to get free protection for your applications and to get access to all the features.
- package/base-vitest.config.js +4 -1
- package/package.json +3 -3
package/base-vitest.config.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { defineConfig } from 'vitest/config';
|
2
2
|
|
3
|
+
/** @type {import("vitest/config").UserConfig} */
|
3
4
|
const baseConfig = {
|
4
5
|
// Enables import-less tests for drop-in jest compatibility
|
5
6
|
globals: true,
|
@@ -10,7 +11,9 @@ const baseConfig = {
|
|
10
11
|
},
|
11
12
|
// Automatically retry any test failures once.
|
12
13
|
// Ideally we could scope this down to timeout failures only, but that doesn't seem currently possible.
|
13
|
-
retry
|
14
|
+
// This causes all snapshot tests to pass since it produces a new snapshot on the retry. Turning off until this is resolved
|
15
|
+
// https://github.com/vitest-dev/vitest/issues/5312
|
16
|
+
// retry: 1,
|
14
17
|
};
|
15
18
|
|
16
19
|
const DOM_TEST_FILE_PATTERN = '**/*.ui.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devvit/tsconfig",
|
3
|
-
"version": "0.11.0-next-2024-07-
|
3
|
+
"version": "0.11.0-next-2024-07-15-adba61cda.0",
|
4
4
|
"license": "BSD-3-Clause",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -19,11 +19,11 @@
|
|
19
19
|
"lint:fix": "yarn lint --fix"
|
20
20
|
},
|
21
21
|
"devDependencies": {
|
22
|
-
"@devvit/eslint-config": "0.11.0-next-2024-07-
|
22
|
+
"@devvit/eslint-config": "0.11.0-next-2024-07-15-adba61cda.0",
|
23
23
|
"c8": "7.11.3",
|
24
24
|
"eslint": "8.9.0",
|
25
25
|
"typescript": "5.3.2",
|
26
26
|
"vitest": "1.6.0"
|
27
27
|
},
|
28
|
-
"gitHead": "
|
28
|
+
"gitHead": "bda52bc34e21c370bb8173946367954dd6fdcee1"
|
29
29
|
}
|