Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jun 19, 2024
1 parent 740821d commit 4ed5e65
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions test/unit/mixins/execute-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ import sinon from 'sinon';

const { executeAtom, executeAtomAsync, callFunction, execute } = exec;

describe('execute', async function () {
describe('execute', function () {
this.timeout(MOCHA_TIMEOUT);

let chai;

before(async function () {
chai = await import('chai');
const chaiAsPromised = await import('chai-as-promised');
chai.should();
})
});

describe('executeAtom', function () {
it('should execute atom and call send event on rpc client', async function () {
Expand Down
4 changes: 2 additions & 2 deletions test/unit/mixins/navigate-specs.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import RemoteDebugger from '../../../lib/remote-debugger';

describe('navigate', async function () {
describe('navigate', function () {
let chai;

before(async function () {
chai = await import('chai');
chai.should();
})
});

describe('isPageLoadingCompleted', function () {
const BUNDLE_ID = 'com.apple.mobilesafari';
Expand Down
2 changes: 1 addition & 1 deletion test/unit/remote-messages-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('RemoteMessages', function () {
before(async function () {
chai = await import('chai');
chai.should();
})
});

describe('getRemoteCommand', function () {
const commands = [
Expand Down
2 changes: 1 addition & 1 deletion test/unit/rpc/rpc-client-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('rpc-client', function () {
const chaiAsPromised = await import('chai-as-promised');
chai.should();
chai.use(chaiAsPromised.default);
})
});

describe('.send', function () {
it('should send RPC message to device', async function () {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/utils-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('utils', function () {
chai.should();
chai.use(chaiAsPromised.default);
expect = chai.expect;
})
});

describe('appInfoFromDict', function () {
it('should return the id and entry for a dict', function () {
Expand Down

0 comments on commit 4ed5e65

Please sign in to comment.