@mui/internal-code-infra 0.1.1-canary.25 → 0.1.1-canary.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/internal-code-infra",
3
- "version": "0.1.1-canary.25",
3
+ "version": "0.1.1-canary.27",
4
4
  "author": "MUI Team",
5
5
  "description": "Infra scripts and configs to be used across MUI repos.",
6
6
  "license": "MIT",
@@ -192,7 +192,7 @@
192
192
  "publishConfig": {
193
193
  "access": "public"
194
194
  },
195
- "gitSha": "80d3ec0d49901ddda4af788aeb3b1b51e21c07cc",
195
+ "gitSha": "b2f58176b88f16b02033eeb5517ad517e2b2aaca",
196
196
  "scripts": {
197
197
  "build": "tsc -p tsconfig.build.json",
198
198
  "typescript": "tsc -noEmit",
@@ -630,6 +630,7 @@ export async function crawl(rawOptions) {
630
630
  stdout: 'pipe',
631
631
  stderr: 'pipe',
632
632
  cancelSignal: controller.signal,
633
+ killDescendants: true,
633
634
  env: {
634
635
  FORCE_COLOR: '1',
635
636
  ...process.env,
@@ -91,6 +91,9 @@ export function createTestConfig() {
91
91
  '@typescript-eslint/no-non-null-asserted-optional-chain': 'off',
92
92
  // end migration
93
93
  'vitest/prefer-importing-vitest-globals': 'error',
94
+ // Vitest accepts a failure message as the second argument of `expect`, also when it is
95
+ // not a literal.
96
+ 'vitest/valid-expect': ['error', { maxArgs: 2 }],
94
97
  },
95
98
  },
96
99
  );