adds saucelabs integration to unit tests

This commit is contained in:
Jim Witschey 2014-07-25 11:23:47 -04:00
parent c8e0d917f7
commit 6a1ab4e39f
6 changed files with 158 additions and 6 deletions

View file

@ -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)});