Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Commit

Permalink
Merge pull request #9 from hokennethk/fix/updateSchedulerTest
Browse files Browse the repository at this point in the history
Update first test case for Scheduler to remove deprecated method.
  • Loading branch information
mattpodwysocki committed Oct 28, 2015
2 parents 06baf7c + ef129e3 commit 8fbdc32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/04_about_time.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ QUnit.module('Time');
var __ = 'Fill in the blank';

asyncTest('launching an event via a scheduler', function () {
var state = null;
var received = '';
var delay = 600; // Fix this value
Scheduler.timeout.scheduleWithRelative(delay, function () {
Scheduler.default.scheduleFuture(state, delay, function (scheduler, state) {
received = 'Finished';
});

Expand Down

0 comments on commit 8fbdc32

Please sign in to comment.