Skip to content

Commit

Permalink
import explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jan 3, 2025
1 parent d4c4793 commit 27b3d2c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as SafariDriver from './lib/driver';
import { SafariDriver } from './lib/driver';

export default SafariDriver;
export { SafariDriver };
2 changes: 1 addition & 1 deletion lib/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import _ from 'lodash';
import { BaseDriver } from 'appium/driver';
import SafariDriverServer from './safari';
import { desiredCapConstraints } from './desired-caps';
import * as commands from './commands/index';
import { commands } from './commands/index';
import { formatCapsForServer } from './utils';
import { newMethodMap } from './method-map';

Expand Down
2 changes: 1 addition & 1 deletion test/functional/mobile-driver-e2e-specs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { remote } from 'webdriverio';
import * as Simctl from 'node-simctl';
import { Simctl } from 'node-simctl';
import { HOST, PORT, MOCHA_TIMEOUT } from '../utils';

const PLATFORM_VERSION = process.env.PLATFORM_VERSION || '14.1';
Expand Down
2 changes: 1 addition & 1 deletion test/unit/driver-specs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as SafariDriver from '../../lib/driver';
import { SafariDriver } from '../../lib/driver';

describe('SafariDriver', function () {
let chai;
Expand Down

0 comments on commit 27b3d2c

Please sign in to comment.