Skip to content

Commit 188ca0c

Browse files
committed
test: expect single simctl listing in tvOS provider flow
The recently-observed-Booted memo removes the repeat state listings the launch and terminate boot checks used to make; the transcript now records one listing per flow.
1 parent b5f4c87 commit 188ca0c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/integration/provider-scenarios/tvos-remote.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ test('Provider-backed integration tvOS remote flow maps navigation commands to r
8484
assertRpcOk(close);
8585

8686
runnerTranscript.assertComplete();
87+
// One state listing per flow: the launch and terminate boot checks hit
88+
// the recently-observed-Booted memo instead of re-listing devices.
8789
assert.deepEqual(appleTool.calls, [
88-
['simctl', 'list', 'devices', '-j'],
8990
['simctl', 'list', 'devices', '-j'],
9091
['simctl', 'launch', 'tv-sim-1', 'com.example.tv'],
91-
['simctl', 'list', 'devices', '-j'],
9292
['simctl', 'terminate', 'tv-sim-1', 'com.example.tv'],
9393
]);
9494
},

0 commit comments

Comments
 (0)