fix: Typos in test descriptions

Signed-off-by: Adam Harvey <adaharve@cisco.com>
This commit is contained in:
Adam Harvey
2023-04-29 13:53:05 -04:00
parent ed05dbbfe5
commit bd58c70485
2 changed files with 7 additions and 7 deletions
@@ -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(() => {});
@@ -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');