aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/app
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2019-03-29 12:39:29 +0800
committerkumavis <aaron@kumavis.me>2019-03-29 12:39:29 +0800
commit846038a69c4cde10417ce54b280de3624d87d45c (patch)
treec1ed5f1cbbefce3e62a8e79f5578cf1214649a29 /test/unit/app
parente04f0c877ba94c126bbf94622640700c728f74c7 (diff)
downloadtangerine-wallet-browser-846038a69c4cde10417ce54b280de3624d87d45c.tar.gz
tangerine-wallet-browser-846038a69c4cde10417ce54b280de3624d87d45c.tar.zst
tangerine-wallet-browser-846038a69c4cde10417ce54b280de3624d87d45c.zip
notice-controller - make markAllNoticesRead sync
Diffstat (limited to 'test/unit/app')
-rw-r--r--test/unit/app/controllers/notice-controller-test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/app/controllers/notice-controller-test.js b/test/unit/app/controllers/notice-controller-test.js
index d550d86cd..caa50a03e 100644
--- a/test/unit/app/controllers/notice-controller-test.js
+++ b/test/unit/app/controllers/notice-controller-test.js
@@ -57,7 +57,7 @@ describe('notice-controller', function () {
noticeController.setNoticesList(testList)
- await noticeController.markAllNoticesRead()
+ noticeController.markAllNoticesRead()
const unreadNotices = noticeController.getUnreadNotices()
assert.equal(unreadNotices.length, 0)