diff --git a/packages/backend-test-utils/src/next/services/MockRootLoggerService.test.ts b/packages/backend-test-utils/src/next/services/MockRootLoggerService.test.ts index a3cbb5c384..007b24faeb 100644 --- a/packages/backend-test-utils/src/next/services/MockRootLoggerService.test.ts +++ b/packages/backend-test-utils/src/next/services/MockRootLoggerService.test.ts @@ -39,7 +39,7 @@ describe('MockRootLoggerService', () => { expect(console.debug).not.toHaveBeenCalled(); }); - it('shuld be able to set none level', () => { + it('should be able to set none level', () => { jest.spyOn(console, 'error').mockImplementation(() => {}); jest.spyOn(console, 'warn').mockImplementation(() => {}); jest.spyOn(console, 'info').mockImplementation(() => {}); @@ -57,7 +57,7 @@ describe('MockRootLoggerService', () => { expect(console.debug).not.toHaveBeenCalled(); }); - it('shuld be able to set error level', () => { + it('should be able to set error level', () => { jest.spyOn(console, 'error').mockImplementation(() => {}); jest.spyOn(console, 'warn').mockImplementation(() => {}); jest.spyOn(console, 'info').mockImplementation(() => {}); @@ -75,7 +75,7 @@ describe('MockRootLoggerService', () => { expect(console.debug).not.toHaveBeenCalled(); }); - it('shuld be able to set warn level', () => { + it('should be able to set warn level', () => { jest.spyOn(console, 'error').mockImplementation(() => {}); jest.spyOn(console, 'warn').mockImplementation(() => {}); jest.spyOn(console, 'info').mockImplementation(() => {}); @@ -93,7 +93,7 @@ describe('MockRootLoggerService', () => { expect(console.debug).not.toHaveBeenCalled(); }); - it('shuld be able to set info level', () => { + it('should be able to set info level', () => { jest.spyOn(console, 'error').mockImplementation(() => {}); jest.spyOn(console, 'warn').mockImplementation(() => {}); jest.spyOn(console, 'info').mockImplementation(() => {}); @@ -111,7 +111,7 @@ describe('MockRootLoggerService', () => { expect(console.debug).not.toHaveBeenCalled(); }); - it('shuld be able to set debug level', () => { + it('should be able to set debug level', () => { jest.spyOn(console, 'error').mockImplementation(() => {}); jest.spyOn(console, 'warn').mockImplementation(() => {}); jest.spyOn(console, 'info').mockImplementation(() => {}); diff --git a/packages/test-utils/src/testUtils/logCollector.test.ts b/packages/test-utils/src/testUtils/logCollector.test.ts index fc66d7a26e..b217aaad8c 100644 --- a/packages/test-utils/src/testUtils/logCollector.test.ts +++ b/packages/test-utils/src/testUtils/logCollector.test.ts @@ -34,7 +34,7 @@ describe('logCollector', () => { expect(logs.error).toEqual(['c', '3']); }); - it('should collect some logs asynchrnously', async () => { + it('should collect some logs asynchronously', async () => { const logs = await withLogCollector(async () => { console.log('a'); console.warn('b'); @@ -70,7 +70,7 @@ describe('logCollector', () => { expect(missedLogs.error).toEqual(['c', '3']); }); - it('should collect specific logs asynchrnously', async () => { + it('should collect specific logs asynchronously', async () => { const missedLogs = await withLogCollector(async () => { const logs = await withLogCollector(['error'], async () => { console.log('a');