Skip to content

Commit

Permalink
Docs: Set examples to use QUnit 3.0.0-alpha.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Jul 21, 2024
1 parent 8574f64 commit 5f5af57
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/resources/example-add.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<meta charset="utf-8">
<title>QUnit</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.21.1.css">
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-3.0.0-alpha.2.css">
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="https://code.jquery.com/qunit/qunit-2.21.1.js"></script>
<script src="https://code.jquery.com/qunit/qunit-3.0.0-alpha.2.js"></script>
<script>
function add (a, b) {
return a + b;
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/example-fail.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<meta charset="utf-8">
<title>QUnit</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.21.1.css">
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-3.0.0-alpha.2.css">
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="https://code.jquery.com/qunit/qunit-2.21.1.js"></script>
<script src="https://code.jquery.com/qunit/qunit-3.0.0-alpha.2.js"></script>
<script>
QUnit.test('apple', function (assert) {
assert.equal('this is expected', 'this is expected', 'example');
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/example-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html lang="en">
<meta charset="utf-8">
<title>QUnit</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.21.1.css">
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-3.0.0-alpha.2.css">
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>

<script src="https://code.jquery.com/qunit/qunit-2.21.1.js"></script>
<script src="https://code.jquery.com/qunit/qunit-3.0.0-alpha.2.js"></script>
<script type="module" src="calc.test.js"></script>
<script type="module" src="game.test.js"></script>
</body>
Expand Down

0 comments on commit 5f5af57

Please sign in to comment.