Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 653d17b

Browse files
author
Gabriel Schulhof
committed
Tests: Must not require() and include js/ at the same time
1 parent 2b4bccc commit 653d17b

File tree

4 files changed

+0
-14
lines changed

4 files changed

+0
-14
lines changed

tests/integration/navigation/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
$.testHelper.setPushState();
1414
});
1515
</script>
16-
<!-- Because our reloading code reloads our AMD modules
17-
but now tests are running against the built bundle, we need to include the define shim
18-
in order for the reload to work -->
19-
<script src="../../../js/jquery.mobile.define.js"></script>
2016
<script src="../../../js/"></script>
2117
<link rel="stylesheet" href="../../../css/themes/default/jquery.mobile.css"/>
2218
<link rel="stylesheet" href="../../../external/qunit/qunit.css"/>

tests/unit/event/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
$.testHelper.setPushState();
1313
</script>
1414

15-
<script src="../../../js/jquery.mobile.define.js"></script>
1615
<script src="../../../js/ns.js"></script>
1716
<script src="../../../js/support/touch.js"></script>
1817
<script src="../../../js/events.js"></script>

tests/unit/kitchensink/index.html

-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@
44
<meta charset="UTF-8" />
55
<title>jQuery Mobile Kitchen Sink Test Suite</title>
66
<!-- meta viewport left out on purpose for test append -->
7-
<script src="../../../external/requirejs/require.js"></script>
8-
<script src="../../../js/requirejs.config.js"></script>
97
<script src="../../../js/jquery.tag.inserter.js"></script>
108
<script src="../../../external/qunit/qunit.js"></script>
119
<script src="../../../external/jquery/jquery.js"></script>
1210
<script src="../../jquery.setNameSpace.js"></script>
1311
<script src="../../jquery.testHelper.js"></script>
14-
<script src="../../../js/jquery.mobile.define.js"></script>
1512
<script src="preinit.js"></script>
1613
<script src="../../../js/"></script>
1714
<script src="kitchensink_core.js"></script>

tests/unit/path/index.html

-6
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,12 @@
44
<meta charset="UTF-8" />
55
<title>jQuery Mobile Navigate Path Helpers Test Suite</title>
66

7-
<script src="../../../external/requirejs/require.js"></script>
8-
<script src="../../../js/requirejs.config.js"></script>
97
<script src="../../../js/jquery.tag.inserter.js"></script>
108
<script src="../../jquery.setNameSpace.js"></script>
119
<script src="../../../tests/jquery.testHelper.js"></script>
1210
<script src="../../../external/qunit/qunit.js"></script>
1311
<link rel="stylesheet" href="../../../external/qunit/qunit.css"/>
1412
<link rel="stylesheet" href="../../jqm-tests.css"/>
15-
<!-- Because our reloading code reloads our AMD modules
16-
but now tests are running against the built bundle, we need to include the define shim
17-
in order for the reload to work -->
18-
<script src="../../../js/jquery.mobile.define.js"></script>
1913
<script src="../../../js/"></script>
2014
<script type="text/javascript" src="path_core.js"></script>
2115
<script src="../../swarminject.js"></script>

0 commit comments

Comments
 (0)