Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
chore(integration-tests): update spec to look for new message
Browse files Browse the repository at this point in the history
  • Loading branch information
JAdshead committed Sep 18, 2023
1 parent 9115e34 commit aec2b78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ stats.json
.dev
.sass_cache
.webpack-stats*
.esbuild-stats*
.build-meta.json
.build-cache
bundle.integrity.manifest.json
Expand Down
3 changes: 2 additions & 1 deletion __tests__/integration/one-app.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ describe('Tests that require Docker setup', () => {
await tearDownTestRunner({ browser });
writeModuleMap(originalModuleMap);
});

test('one-app starts up successfully with a bad module', async () => {
const loggedError = await requiredExternalsError;
const [, problemModule, problemModuleUrl, workingUrl] = revertErrorMatch.exec(loggedError);
Expand Down Expand Up @@ -794,7 +795,7 @@ describe('Tests that require Docker setup', () => {
});

test('fails to get external `react-intl` for child module as an unsupplied `requiredExternal` - logs failure', async () => {
const requiredExternalsErrorMatch = /Failed to get external react-intl from root module/;
const requiredExternalsErrorMatch = /External 'react-intl' is required by cultured-frankie, but is not provided by the root module/;

const requiredExternalsError = searchForNextLogMatch(requiredExternalsErrorMatch);
await addModuleToModuleMap({
Expand Down

0 comments on commit aec2b78

Please sign in to comment.