fix: wait_for_boot waiting forever (#978)

This commit is contained in:
Norman Breau
2020-05-22 15:07:18 -03:00
committed by GitHub
parent 08dc1dd9b9
commit a830145f36
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -452,7 +452,7 @@ describe('emulator', () => {
it('should resolve with true if the system has booted', () => {
AdbSpy.shell.and.callFake((emuId, shellArgs) => {
expect(emuId).toBe(emulatorId);
expect(shellArgs).toContain('ps');
expect(shellArgs).toContain('getprop sys.boot_completed');
return Promise.resolve(psOutput);
});