mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-30 00:00:04 +08:00
fix: wait_for_boot waiting forever (#978)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user