Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann authored and baruchvlz committed Nov 30, 2019
1 parent 56cff7d commit 677615b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/wdio-browserstack-service/tests/service.test.js
Expand Up @@ -153,10 +153,7 @@ describe('before', () => {
expect(service.sessionId).toEqual(12)
expect(service.failures).toEqual(0)

expect(service.auth).toEqual({
user: 'blah',
pass: 'NotSetKey'
})
expect(service.auth).toEqual('blah:NotSetKey')
service = new BrowserstackService({ capabilities: {} })
service.beforeSession({ key: 'blah' })
await service.before()
Expand Down

0 comments on commit 677615b

Please sign in to comment.