Skip to content

Commit 92f6e6b

Browse files
test: should use safeboot to reset state
1 parent 3753ebb commit 92f6e6b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/suite/integration/probs.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ const PROJECT_STORE_TIMEOUT = 10000;
99
*/
1010
const prepDevice = async (device) => {
1111
await device.connect();
12-
await device.stopScript()
12+
13+
await pymakr.commands.safeBootDevice({ device });
14+
// TODO timeout here should not be required. High priority!
15+
await new Promise((resolve) => setTimeout(resolve, 500));
1316
await pymakr.commands.eraseDevice({ device });
1417
await device.disconnect();
1518
};

0 commit comments

Comments
 (0)