adds saucelabs integration to unit tests
This commit is contained in:
parent
c8e0d917f7
commit
6a1ab4e39f
6 changed files with 158 additions and 6 deletions
|
|
@ -1575,7 +1575,15 @@ function testMithril(mock) {
|
|||
|
||||
}
|
||||
|
||||
//mocks
|
||||
testMithril(mock.window)
|
||||
//test reporting for saucelabs
|
||||
window.global_test_results = {
|
||||
tests: [],
|
||||
duration: 0,
|
||||
passed: 0,
|
||||
failed: 0
|
||||
};
|
||||
|
||||
test.print(console.log)
|
||||
//mock
|
||||
testMithril(mock.window);
|
||||
|
||||
test.print(function(value){console.log(value)});
|
||||
Loading…
Add table
Add a link
Reference in a new issue