@stencil/vitest 1.1.6 → 1.1.7

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.
@@ -270,6 +270,8 @@ export default {
270
270
  writeFileSync(join(testDir, 'package.json'), JSON.stringify({ name: 'test', type: 'module' }));
271
271
  // Run and then kill
272
272
  await runCLIInDir(testDir, ['--watch', '--verbose'], 2000);
273
+ // Wait for filesystem to sync (Windows can be slow)
274
+ await new Promise((resolve) => setTimeout(resolve, 500));
273
275
  // Check that temp config was cleaned up
274
276
  const tempConfigs = require('fs')
275
277
  .readdirSync(testDir)
@@ -396,7 +396,7 @@ async function createTemporaryStencilConfig(userSpecifiedConfig, vitestConfigPat
396
396
  // Auto-generated temporary config by stencil-test
397
397
  // This extends your stencil config and adds watchIgnoredRegex for screenshot files
398
398
 
399
- import baseConfig from '${userConfigPath}';
399
+ import ${userConfig.config ? '{ config as baseConfig }' : 'baseConfig'} from '${userConfigPath}';
400
400
 
401
401
  export const config = {
402
402
  ...baseConfig,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/stenciljs/vitest"
6
6
  },
7
- "version": "1.1.6",
7
+ "version": "1.1.7",
8
8
  "description": "First-class testing utilities for Stencil design systems with Vitest",
9
9
  "license": "MIT",
10
10
  "type": "module",
@@ -92,7 +92,7 @@
92
92
  "dependencies": {
93
93
  "jiti": "^2.6.1",
94
94
  "local-pkg": "^1.1.2",
95
- "vitest-environment-stencil": "1.1.6"
95
+ "vitest-environment-stencil": "1.1.7"
96
96
  },
97
97
  "devDependencies": {
98
98
  "@eslint/js": "^9.39.2",