Skip to content

Commit

Permalink
Fix a broken test case
Browse files Browse the repository at this point in the history
  • Loading branch information
benlau committed Mar 29, 2018
1 parent 6516178 commit 155a747
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/unittests/tst_promisejs_minimal.qml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ TestCase {
var callbackResult = {}

var promise = new Q.Promise(function(resolve, reject) {
resolve("ready") ;
resolve("ready");
});

promise.then(function(result) {
callbackResult.result = result;
});

tick();
Expand Down

0 comments on commit 155a747

Please sign in to comment.