from now on you need to run "grunt shell --target=dev" to build the test version of copay which you can run the mocha browser tests on, which includes packages like sinon and soop.
32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Mocha</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
|
|
</head>
|
|
<body>
|
|
<div id="mocha"></div>
|
|
<script src="../node_modules/mocha/mocha.js"></script>
|
|
<script src="../node_modules/chai/chai.js"></script>
|
|
<script src="../lib/crypto-js/rollups/aes.js"></script>
|
|
<script>mocha.setup('bdd')</script>
|
|
<script src="../lib/bitcore/browser/bundle.js"></script>
|
|
<script src="../js/copayBundle.js"></script>
|
|
<script src="test.blockchain.Insight.js"></script>
|
|
<script src="test.network.WebRTC.js"></script>
|
|
<script src="test.PrivateKey.js"></script>
|
|
<script src="test.PublicKeyRing.js"></script>
|
|
<script src="test.storage.LocalEncrypted.js"></script>
|
|
<script src="test.storage.LocalPlain.js"></script>
|
|
<script src="test.Wallet.js"></script>
|
|
<script src="test.WalletFactory.js"></script>
|
|
<script src="test.performance.js"></script>
|
|
<!--
|
|
-->
|
|
<script>
|
|
mocha.run();
|
|
</script>
|
|
</body>
|
|
</html>
|