aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2015-08-01 09:38:02 +0800
committerkumavis <aaron@kumavis.me>2015-08-01 09:38:02 +0800
commit500a95a70492fc319ad1984da36773952a2086e6 (patch)
treef9e5f3752414c5f414379fe579d6714a48cdad1c /test
downloadtangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.tar
tangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.tar.gz
tangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.tar.bz2
tangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.tar.lz
tangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.tar.xz
tangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.tar.zst
tangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.zip
init commit
Diffstat (limited to 'test')
-rw-r--r--test/index.html29
-rw-r--r--test/spec/test.js11
2 files changed, 40 insertions, 0 deletions
diff --git a/test/index.html b/test/index.html
new file mode 100644
index 000000000..6498d5fcc
--- /dev/null
+++ b/test/index.html
@@ -0,0 +1,29 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Mocha Spec Runner</title>
+ <link rel="stylesheet" href="../bower_components/mocha/mocha.css">
+</head>
+<body>
+ <div id="mocha"></div>
+ <script src="../bower_components/mocha/mocha.js"></script>
+ <script>mocha.setup('bdd');</script>
+ <script src="../bower_components/chai/chai.js"></script>
+ <script>
+ var assert = chai.assert;
+ var expect = chai.expect;
+ var should = chai.should();
+ </script>
+ <!-- bower:js -->
+ <!-- endbower -->
+ <!-- include source files here... -->
+ <!-- include spec files here... -->
+ <script src="spec/test.js"></script>
+ <script>
+ if (navigator.userAgent.indexOf('PhantomJS') === -1) {
+ mocha.run();
+ }
+ </script>
+</body>
+</html>
diff --git a/test/spec/test.js b/test/spec/test.js
new file mode 100644
index 000000000..0fca0fb57
--- /dev/null
+++ b/test/spec/test.js
@@ -0,0 +1,11 @@
+(function () {
+ 'use strict';
+
+ describe('Give it some context', function () {
+ describe('maybe a bit more context here', function () {
+ it('should run here few assertions', function () {
+
+ });
+ });
+ });
+})();