Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mwakizaka committed Jun 5, 2024
1 parent 94656be commit b5f5d91
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/unit/simulator-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,10 @@ launchd_s 35621 mwakizaka 16u unix 0x7b7dbedd6d62e84f 0t0 /private/
spawnProcessSpy.getCall(3).args[0].should.eql(
['launchctl', 'stop', 'com.apple.tccd']
);
spawnProcessSpy.callCount.should.eql(4);
spawnProcessSpy.getCall(4).args[0].should.eql(
['launchctl', 'stop', 'com.apple.akd']
);
spawnProcessSpy.callCount.should.eql(5);
});

it('should confirm skip restarting services if already applied', async function () {
Expand Down

0 comments on commit b5f5d91

Please sign in to comment.