Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (21 sloc) 0.911 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>QUnit Promises Assertions Example</title>
<link rel="stylesheet" href="http://code.jquery.com/qunit/qunit-1.12.0.css">
</head>
<body>
<a href="https://github.com/bahmutov/qunit-promises"><img style="position: fixed; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"
title="Fork me on GitHub - qunit-promises"></a>
<h2>A convenient way to deal with promises in QUnit.</h2>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<!-- for deferred -->
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<!-- include qunit first, then qunit-promises, then tests -->
<script src="http://code.jquery.com/qunit/qunit-1.12.0.js"></script>
<script src="qunit-promises.js"></script>
<script src="test/tests.js"></script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.