mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 08:09:15 +01:00
cce8d9e360
Added new Qunit build process that will browserify the contents of `test/integration/lib` into the QUnit browser, allowing much more modular testing, including unit testing of our modules in our target browsers. Made a basic unit test file of this form for the new encryptor module, which fails miserably because I've only just begun to work with it. I've started with this blog post as a starting point, and will be adjusting it to our needs from there: http://qnimate.com/passphrase-based-encryption-using-web-cryptography-api/
23 lines
669 B
HTML
23 lines
669 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width">
|
|
<title>QUnit Example</title>
|
|
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.0.0.css">
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture"></div>
|
|
<script src="https://code.jquery.com/qunit/qunit-2.0.0.js"></script>
|
|
<script src="./jquery-3.1.0.min.js"></script>
|
|
<script src="helpers.js"></script>
|
|
<script src="bundle.js"></script>
|
|
<script src="/testem.js"></script>
|
|
|
|
<iframe src="/development/index.html" height="500px" width="360px">
|
|
<p>Your browser does not support iframes</p>
|
|
</iframe>
|
|
</body>
|
|
</html>
|