This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
forked from TheBrainFamily/chimpy
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Committing the dist directory so I can sync this repo using npm/githu…
…b in the short term.
- Loading branch information
Showing
66 changed files
with
6,682 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,4 @@ | |
npm-debug.log | ||
node_modules | ||
tmp | ||
dist | ||
output.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
'use strict'; | ||
|
||
jest.autoMockOff(); | ||
module.exports = require.requireActual('bluebird'); | ||
jest.autoMockOn(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
'use strict'; | ||
|
||
var chokidar = { | ||
watcher: { | ||
on: jest.genMockFunction(), | ||
once: jest.genMockFunction() | ||
}, | ||
watch: jest.genMockFunction() | ||
}; | ||
chokidar.watch.mockReturnValue(chokidar.watcher); | ||
module.exports = chokidar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
supportsColor: {} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
'use strict'; | ||
|
||
module.exports = jest.genMockFn(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
'use strict'; | ||
|
||
module.exports = jest.genMockFn(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
'use strict'; | ||
|
||
var Hapi = { | ||
instance: { | ||
connection: jest.genMockFn(), | ||
route: jest.genMockFn(), | ||
start: jest.genMockFn() | ||
}, | ||
Server: function Server() { | ||
return Hapi.instance; | ||
} | ||
}; | ||
module.exports = Hapi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
post: jest.genMockFunction() | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
install: jest.genMockFunction(), | ||
start: jest.genMockFunction() | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
remote: jest.genMockFunction() | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
wrapAsyncObject: jest.genMockFunction() | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
jest.dontMock('../lib/browserstack-manager'); | ||
describe('BrowserStack Session Manager', function () { | ||
describe('Constructor', function () { | ||
it('sets the browserStackUrl', function () { | ||
var BrowserStackManager = require('../lib/browserstack-manager'); | ||
|
||
var options = { | ||
port: 1234, | ||
browser: 'something', | ||
user: 'testus3r', | ||
key: '12345678', | ||
host: 'browserstack.com' | ||
}; | ||
var browserStackBaseUrl = 'https://' + options.user + ':' + options.key + '@' + options.host; | ||
var session = new BrowserStackManager(options); | ||
expect(session.options.browserStackUrl).toBe(browserStackBaseUrl); | ||
}); | ||
}); | ||
}); |
Oops, something went wrong.