aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/address-book-controller.js
diff options
context:
space:
mode:
authorThomas Huang <thomas.b.huang@gmail.com>2017-05-05 05:35:10 +0800
committerThomas Huang <thomas.b.huang@gmail.com>2017-05-05 05:35:10 +0800
commit0b13429daf00ddd5bdf2705c7a95d7a9d5792f54 (patch)
treef249d8deb5fa48db54d70757de944b2c8ff76a2e /test/unit/address-book-controller.js
parent8f5334e4aca8b95963f57b0fbf862256b692dbd9 (diff)
downloadtangerine-wallet-browser-0b13429daf00ddd5bdf2705c7a95d7a9d5792f54.tar
tangerine-wallet-browser-0b13429daf00ddd5bdf2705c7a95d7a9d5792f54.tar.gz
tangerine-wallet-browser-0b13429daf00ddd5bdf2705c7a95d7a9d5792f54.tar.bz2
tangerine-wallet-browser-0b13429daf00ddd5bdf2705c7a95d7a9d5792f54.tar.lz
tangerine-wallet-browser-0b13429daf00ddd5bdf2705c7a95d7a9d5792f54.tar.xz
tangerine-wallet-browser-0b13429daf00ddd5bdf2705c7a95d7a9d5792f54.tar.zst
tangerine-wallet-browser-0b13429daf00ddd5bdf2705c7a95d7a9d5792f54.zip
Lint tests
Diffstat (limited to 'test/unit/address-book-controller.js')
-rw-r--r--test/unit/address-book-controller.js17
1 files changed, 8 insertions, 9 deletions
diff --git a/test/unit/address-book-controller.js b/test/unit/address-book-controller.js
index f345b0328..85deb8905 100644
--- a/test/unit/address-book-controller.js
+++ b/test/unit/address-book-controller.js
@@ -1,5 +1,5 @@
const assert = require('assert')
-const extend = require('xtend')
+// const extend = require('xtend')
const AddressBookController = require('../../app/scripts/controllers/address-book')
const mockKeyringController = {
@@ -7,21 +7,20 @@ const mockKeyringController = {
getState: function () {
return {
identities: {
- '0x0aaa' : {
+ '0x0aaa': {
address: '0x0aaa',
name: 'owned',
- }
- }
+ },
+ },
}
- }
- }
+ },
+ },
}
-
-describe('address-book-controller', function() {
+describe('address-book-controller', function () {
var addressBookController
- beforeEach(function() {
+ beforeEach(function () {
addressBookController = new AddressBookController({}, mockKeyringController)
})