Skip to content

Commit

Permalink
Remove Incorrect Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Amit3200 committed Sep 14, 2023
1 parent 0ae06ea commit 2cafa4d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/webdriver-utils/test/metadata/metaDataResolver.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,5 @@ describe('MetaDataResolver', () => {
expect(metadata.driver).toEqual(driver);
expect(metadata.capabilities).toEqual({});
});

it('resolves MobileMetaData when deviceName is passed', () => {
metadata = MetaDataResolver.resolve(driver, capabilities, { platform: 'Linux', deviceName: 'RX224' });
expect(metadata).toBeInstanceOf(DesktopMetaData);
expect(metadata.driver).toEqual(driver);
expect(metadata.capabilities).toEqual({});
});

it('resolves DesktopMetaData when no deviceName is passed', () => {
metadata = MetaDataResolver.resolve(driver, capabilities, { platform: 'Linux' });
expect(metadata).toBeInstanceOf(DesktopMetaData);
expect(metadata.driver).toEqual(driver);
expect(metadata.capabilities).toEqual({});
});
});
});

0 comments on commit 2cafa4d

Please sign in to comment.