aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-11-23 02:50:15 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-11-23 02:50:15 +0800
commit8261cf232d5d7225f83747460cb7dbed52d5f8b8 (patch)
treed91ae54c29a0203e2cc3883f0183355cf1588f63 /test
parent17d63acaed8fd9a885368831858ba216558ff155 (diff)
parentca819781cb68fc89af5a299df2710101b4b9cfe3 (diff)
downloadtangerine-wallet-browser-8261cf232d5d7225f83747460cb7dbed52d5f8b8.tar
tangerine-wallet-browser-8261cf232d5d7225f83747460cb7dbed52d5f8b8.tar.gz
tangerine-wallet-browser-8261cf232d5d7225f83747460cb7dbed52d5f8b8.tar.bz2
tangerine-wallet-browser-8261cf232d5d7225f83747460cb7dbed52d5f8b8.tar.lz
tangerine-wallet-browser-8261cf232d5d7225f83747460cb7dbed52d5f8b8.tar.xz
tangerine-wallet-browser-8261cf232d5d7225f83747460cb7dbed52d5f8b8.tar.zst
tangerine-wallet-browser-8261cf232d5d7225f83747460cb7dbed52d5f8b8.zip
Merge branch 'dev' into dev-cleanup
Diffstat (limited to 'test')
-rw-r--r--test/unit/keyrings/hd-test.js8
-rw-r--r--test/unit/keyrings/simple-test.js6
2 files changed, 7 insertions, 7 deletions
diff --git a/test/unit/keyrings/hd-test.js b/test/unit/keyrings/hd-test.js
index c22ffc913..bec1a8134 100644
--- a/test/unit/keyrings/hd-test.js
+++ b/test/unit/keyrings/hd-test.js
@@ -27,9 +27,9 @@ describe('hd-keyring', function() {
assert.equal(accounts[1], secondAcct)
})
- describe('Keyring.type()', function() {
- it('is a class method that returns the type string.', function() {
- const type = HdKeyring.type()
+ describe('Keyring.type', function() {
+ it('is a class property that returns the type string.', function() {
+ const type = HdKeyring.type
assert.equal(typeof type, 'string')
})
})
@@ -37,7 +37,7 @@ describe('hd-keyring', function() {
describe('#type', function() {
it('returns the correct value', function() {
const type = keyring.type
- const correct = HdKeyring.type()
+ const correct = HdKeyring.type
assert.equal(type, correct)
})
})
diff --git a/test/unit/keyrings/simple-test.js b/test/unit/keyrings/simple-test.js
index ba000a7a8..96a2fdcf0 100644
--- a/test/unit/keyrings/simple-test.js
+++ b/test/unit/keyrings/simple-test.js
@@ -13,9 +13,9 @@ describe('simple-keyring', function() {
keyring = new SimpleKeyring()
})
- describe('Keyring.type()', function() {
- it('is a class method that returns the type string.', function() {
- const type = SimpleKeyring.type()
+ describe('Keyring.type', function() {
+ it('is a class property that returns the type string.', function() {
+ const type = SimpleKeyring.type
assert.equal(type, TYPE_STR)
})
})