Skip to content

Commit

Permalink
should not be rejected
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Nov 25, 2023
1 parent 1d8d095 commit 1a9bbce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/functional/simulator-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,9 @@ describe('advanced features', function () {
describe('Permission', function () {
it('should set and get with simctrl privacy command', async function () {
// no exceptions
await sim.setPermission('com.apple.Maps', 'location', 'yes').should.eventually.be.true;
await sim.setPermission('com.apple.Maps', 'location', 'no').should.eventually.be.true;
await sim.setPermission('com.apple.Maps', 'location', 'unset').should.eventually.be.true;
expect(await sim.setPermission('com.apple.Maps', 'location', 'yes')).should.not.rejected;
expect(await sim.setPermission('com.apple.Maps', 'location', 'no')).should.not.rejected;
expect(await sim.setPermission('com.apple.Maps', 'location', 'unset')).should.not.rejected;
});

it('should set and get with wix command', async function () {
Expand Down

0 comments on commit 1a9bbce

Please sign in to comment.