Skip to content

Commit

Permalink
remove unnecessary await
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jan 24, 2025
1 parent ceb24b2 commit 4d8aedb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/helper-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe('helpers', withMocks({fs}, function (mocks) {
mCurrentUserId=0
...
`;
(await isScreenStateOff(dumpsys)).should.be.true;
isScreenStateOff(dumpsys).should.be.true;
});
it('should return true if isScreenStateOff is on', async function () {
let dumpsys = `
Expand All @@ -112,7 +112,7 @@ describe('helpers', withMocks({fs}, function (mocks) {
mCurrentUserId=0
...
`;
(await isScreenStateOff(dumpsys)).should.be.false;
isScreenStateOff(dumpsys).should.be.false;
});
});

Expand Down

0 comments on commit 4d8aedb

Please sign in to comment.