Skip to content

Instantly share code, notes, and snippets.

@lightsofapollo
Created April 30, 2012 22:10
Show Gist options
  • Select an option

  • Save lightsofapollo/2563092 to your computer and use it in GitHub Desktop.

Select an option

Save lightsofapollo/2563092 to your computer and use it in GitHub Desktop.
function startMarionette() {
suiteSetup(function() {
this.timeout(10000);
var driver = new Marionette.Drivers.HttpdPolling();
yield driver.connect(Task.next);
device = new Marionette.Client(driver, {
defaultCallback: Task.next
});
yield device.startSession();
});
}
suite('calendar months', function(){
startMarionette();
//...
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment