diff --git a/tests/unit/test.logger.js b/tests/unit/test.logger.js index f22d4d1c..0137fc0d 100644 --- a/tests/unit/test.logger.js +++ b/tests/unit/test.logger.js @@ -9,6 +9,6 @@ describe('logger.createLogger()', () => { }, }; createLogger(fakeProcess); - }).toThrow(/unknown level whatever/); + }).toThrow(/level:whatever must be included in custom levels/); }); });