aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-03-25 08:51:46 +0800
committerDan Finlay <dan@danfinlay.com>2016-03-25 08:51:46 +0800
commitda31f4daed76a3457df12f94bbf2974621b70a0c (patch)
treed6e439d4cdd5dc3b4fa2810f67cd78b5260398c3 /test
parent1ff518a94e966f5851efb5d60c4277d79f17d744 (diff)
downloadtangerine-wallet-browser-da31f4daed76a3457df12f94bbf2974621b70a0c.tar
tangerine-wallet-browser-da31f4daed76a3457df12f94bbf2974621b70a0c.tar.gz
tangerine-wallet-browser-da31f4daed76a3457df12f94bbf2974621b70a0c.tar.bz2
tangerine-wallet-browser-da31f4daed76a3457df12f94bbf2974621b70a0c.tar.lz
tangerine-wallet-browser-da31f4daed76a3457df12f94bbf2974621b70a0c.tar.xz
tangerine-wallet-browser-da31f4daed76a3457df12f94bbf2974621b70a0c.tar.zst
tangerine-wallet-browser-da31f4daed76a3457df12f94bbf2974621b70a0c.zip
Added basic es6 mocha test suite
Diffstat (limited to 'test')
-rw-r--r--test/index.html29
-rw-r--r--test/index.js11
-rw-r--r--test/spec/test.js11
3 files changed, 11 insertions, 40 deletions
diff --git a/test/index.html b/test/index.html
deleted file mode 100644
index 6498d5fcc..000000000
--- a/test/index.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!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/index.js b/test/index.js
new file mode 100644
index 000000000..1ff7b673a
--- /dev/null
+++ b/test/index.js
@@ -0,0 +1,11 @@
+var assert = require('assert');
+var idStore = require('../app/scripts/lib/idStore')
+
+describe('IdentityStore', function() {
+ describe('#_createFirstWallet', function () {
+ it('should return the expected keystore', function () {
+
+ assert.equal(1,1)
+ });
+ });
+});
diff --git a/test/spec/test.js b/test/spec/test.js
deleted file mode 100644
index 0fca0fb57..000000000
--- a/test/spec/test.js
+++ /dev/null
@@ -1,11 +0,0 @@
-(function () {
- 'use strict';
-
- describe('Give it some context', function () {
- describe('maybe a bit more context here', function () {
- it('should run here few assertions', function () {
-
- });
- });
- });
-})();