voss-node-configs 1.0.62 → 1.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/back-end.js +8 -2
- package/package.json +1 -1
package/back-end.js
CHANGED
|
@@ -49,8 +49,14 @@ export default [
|
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
// Test files run in Node;
|
|
53
|
-
files: [
|
|
52
|
+
// Test + Vitest setup files run in Node; full Node globals (e.g. fetch) like .js/.mjs
|
|
53
|
+
files: [
|
|
54
|
+
'**/*.{test,spec}.ts',
|
|
55
|
+
'**/__tests__/**/*.ts',
|
|
56
|
+
'**/vitest.setup.ts',
|
|
57
|
+
'**/vitest-*-setup.ts',
|
|
58
|
+
'**/*.setup.ts',
|
|
59
|
+
],
|
|
54
60
|
languageOptions: {
|
|
55
61
|
globals: {
|
|
56
62
|
...globals.node,
|