Skip to content

Commit edec72e

Browse files
fix test
1 parent c401942 commit edec72e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/unit/driver-specs.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ describe('driver', function () {
3333
.once()
3434
.returns(B.resolve());
3535
await driver.createSession(
36-
{ alwaysMatch: { 'appium:automationName': 'Windows', 'appium:app': 'myapp' }, firstMatch: [] },
37-
undefined,
38-
undefined
36+
{ alwaysMatch: { platformName: 'Windows', 'appium:automationName': 'Windows', 'appium:app': 'myapp' }, firstMatch: [{}] }
3937
);
4038
expect(driver.sessionId).to.exist;
4139
expect((driver.caps as any).app).to.equal('myapp');

0 commit comments

Comments
 (0)