diff --git a/packages/signals/signals-integration-tests/src/tests/custom-elements/signals-bundle.tsx b/packages/signals/signals-integration-tests/src/tests/custom-elements/index.bundle.tsx similarity index 100% rename from packages/signals/signals-integration-tests/src/tests/custom-elements/signals-bundle.tsx rename to packages/signals/signals-integration-tests/src/tests/custom-elements/index.bundle.tsx diff --git a/packages/signals/signals-integration-tests/src/tests/signals-vanilla/signals-bundle.ts b/packages/signals/signals-integration-tests/src/tests/signals-vanilla/index.bundle.ts similarity index 100% rename from packages/signals/signals-integration-tests/src/tests/signals-vanilla/signals-bundle.ts rename to packages/signals/signals-integration-tests/src/tests/signals-vanilla/index.bundle.ts diff --git a/packages/signals/signals-integration-tests/webpack.config.ts b/packages/signals/signals-integration-tests/webpack.config.ts index d5d8b9063..01f65e2e4 100644 --- a/packages/signals/signals-integration-tests/webpack.config.ts +++ b/packages/signals/signals-integration-tests/webpack.config.ts @@ -3,7 +3,9 @@ import globby from 'globby' import type { Configuration as WebpackConfiguration } from 'webpack' // This config is for bundling fixtures in order to serve the pages that webdriver.io will use in its tests. -const files = globby.sync('src/tests/*/signals-bundle.ts*', { cwd: __dirname }) +const files = globby.sync('src/tests/*/index.bundle.{ts,tsx}', { + cwd: __dirname, +}) const entries = files.reduce((acc, file) => { const [dirName] = file.split('/').slice(-2)