/
githubmirror
/
meteor
Обзор
Документация
Войти
/
githubmirror
/
meteor
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
devel
tools/e2e-tests/solid.test.js
26 строк
861 B
Nacho Codoñer
rename modern references on tests to e2e, like ./tools/e2e-tests/apps, create-app:e2e and etc
03 мар 2026, 15:06
03 мар 2026, 15:06
008bd95
Код
Авторство
О чём код?
import { waitForMeteorOutput, } from "./helpers"; import { testMeteorRspackBundler } from './test-helpers'; describe('Solid App Bundling /', () => { describe('Meteor+Rspack Bundler /', testMeteorRspackBundler({ appName: 'solid', port: 3122, filePaths: { client: 'client/main.js', server: 'server/main.js', test: 'tests/main.js' }, customAssertions: { afterRunRebuildClient: async ({ allConsoleLogs }) => { // Check for HMR output as enabled by default await waitForMeteorOutput(allConsoleLogs, /.*HMR.*Updated modules:.*/); }, afterRunProductionRebuildClient: async ({ allConsoleLogs }) => { // Check for HMR to not be enabled in production-like mode await waitForMeteorOutput(allConsoleLogs, /.*HMR.*Updated modules:*/, { negate: true }); }, } })); });