mirror of
https://github.com/zhigang1992/bootstrap-tokenfield.git
synced 2026-01-12 22:46:09 +08:00
40 lines
1.3 KiB
HTML
40 lines
1.3 KiB
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Tokenfield Test Runner</title>
|
|
|
|
<link rel="stylesheet" href="../bower_components/mocha/mocha.css" />
|
|
<link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.css" />
|
|
|
|
<link rel="stylesheet" href="../dist/css/bootstrap-tokenfield.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<div id="mocha"></div>
|
|
|
|
<!-- dependencides -->
|
|
<script src="../bower_components/jquery/jquery.js"></script>
|
|
<script src="../bower_components/bootstrap/dist/js/bootstrap.js"></script>
|
|
<script src="../dist/bootstrap-tokenfield.js"></script>
|
|
<script src="../bower_components/mocha/mocha.js"></script>
|
|
<script src="../bower_components/chai/chai.js"></script>
|
|
<script src="vendor/bililiteRange.js"></script>
|
|
<script src="vendor/jquery.simulate.js"></script>
|
|
<script src="vendor/jquery.simulate.ext.js"></script>
|
|
<script src="vendor/jquery.simulate.key-combo.js"></script>
|
|
<script src="vendor/jquery.simulate.key-sequence.js"></script>
|
|
<script>mocha.setup('bdd')</script>
|
|
|
|
<!-- tests -->
|
|
<script src="setup.js"></script>
|
|
<script src="test.tokenfield.unit.js"></script>
|
|
<script src="test.tokenfield.integration.js"></script>
|
|
|
|
<!-- setup & run tests -->
|
|
<script>
|
|
should = chai.should();
|
|
mocha.run();
|
|
</script>
|
|
|
|
</body>
|
|
</html> |