Skip to content
Snippets Groups Projects
Unverified Commit 55e71bf0 authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

tests: improve readability of fatal error test (#1756)

tests: improve readability of fatal error test
parent 9dacb464
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,9 @@ describe('lib/workers/global', () => { ...@@ -34,7 +34,9 @@ describe('lib/workers/global', () => {
}); });
it('catches errors', async () => { it('catches errors', async () => {
configParser.parseConfigs.mockImplementationOnce(() => { configParser.parseConfigs.mockImplementationOnce(() => {
throw new Error('a'); throw new Error(
'This fatal error is thrown for testing purposes and can be ignored'
);
}); });
await globalWorker.start(); await globalWorker.start();
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment