fix: test aftereach
							parent
							
								
									7278b0ba02
								
							
						
					
					
						commit
						a5a2e507cd
					
				|  | @ -11,7 +11,7 @@ const execSpy = jest.spyOn(exec, 'exec').mockImplementation(async () => 0); | ||||||
| describe('System', () => { | describe('System', () => { | ||||||
|   describe('run', () => { |   describe('run', () => { | ||||||
|     describe('units', () => { |     describe('units', () => { | ||||||
|       afterEach(() => jest.clearAllMocks()); |       beforeEach(() => jest.clearAllMocks()); | ||||||
| 
 | 
 | ||||||
|       it('passes the command to command line', async () => { |       it('passes the command to command line', async () => { | ||||||
|         await expect(System.run('echo test')).resolves.not.toBeNull(); |         await expect(System.run('echo test')).resolves.not.toBeNull(); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue