test: trivial refinements
[e-mobility-charging-stations-simulator.git] / tests / utils / ErrorUtils.test.ts
index 486a031635af4a0e00ae15957b9135a00265deb4..907d05fad5f136fbfed17f7fe527a813aa8114e9 100644 (file)
@@ -10,10 +10,10 @@ await describe('ErrorUtils test suite', async () => {
     const error = new Error()
     error.code = 'ENOENT'
     expect(() => {
-      handleFileException('path/to/module.js', FileType.Authorization, error, 'log prefix', {})
+      handleFileException('path/to/module.js', FileType.Authorization, error, 'log prefix |', {})
     }).toThrow(error)
     expect(() => {
-      handleFileException('path/to/module.js', FileType.Authorization, error, 'log prefix', {
+      handleFileException('path/to/module.js', FileType.Authorization, error, 'log prefix |', {
         throwError: false
       })
     }).not.toThrow()