aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-03 07:52:49 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-03 07:52:49 +0800
commit04743afb2da39f0e553412c2ad69efa8a4b4d2e4 (patch)
tree3b85a98aad8eab24cd0abad5cf2f82458196e03c
parentcb71896a8fd2f1a49d462774ff15217e2febaf86 (diff)
downloadtangerine-wallet-browser-04743afb2da39f0e553412c2ad69efa8a4b4d2e4.tar
tangerine-wallet-browser-04743afb2da39f0e553412c2ad69efa8a4b4d2e4.tar.gz
tangerine-wallet-browser-04743afb2da39f0e553412c2ad69efa8a4b4d2e4.tar.bz2
tangerine-wallet-browser-04743afb2da39f0e553412c2ad69efa8a4b4d2e4.tar.lz
tangerine-wallet-browser-04743afb2da39f0e553412c2ad69efa8a4b4d2e4.tar.xz
tangerine-wallet-browser-04743afb2da39f0e553412c2ad69efa8a4b4d2e4.tar.zst
tangerine-wallet-browser-04743afb2da39f0e553412c2ad69efa8a4b4d2e4.zip
fix warnings for integration tests
-rw-r--r--test/integration/lib/confirm-sig-requests.js5
-rw-r--r--test/integration/lib/send-new-ui.js2
-rw-r--r--test/integration/lib/tx-list-items.js1
3 files changed, 1 insertions, 7 deletions
diff --git a/test/integration/lib/confirm-sig-requests.js b/test/integration/lib/confirm-sig-requests.js
index c6a37eabd..5613c0dcb 100644
--- a/test/integration/lib/confirm-sig-requests.js
+++ b/test/integration/lib/confirm-sig-requests.js
@@ -1,10 +1,7 @@
const reactTriggerChange = require('react-trigger-change')
const {
- timeout,
queryAsync,
- findAsync,
} = require('../../lib/util')
-const PASSWORD = 'password123'
QUnit.module('confirm sig requests')
@@ -45,7 +42,7 @@ async function runConfirmSigRequestsTest (assert, done) {
assert.equal(confirmSigHeadline[0].textContent, 'Your signature is being requested')
confirmSigRowValue = await queryAsync($, '.request-signature__row-value')
- assert.ok(confirmSigRowValue[0].textContent.match(/^\#\sTerms\sof\sUse/))
+ assert.ok(confirmSigRowValue[0].textContent.match(/^#\sTerms\sof\sUse/))
confirmSigSignButton = await queryAsync($, 'button.btn-primary.btn--large')
confirmSigSignButton[0].click()
diff --git a/test/integration/lib/send-new-ui.js b/test/integration/lib/send-new-ui.js
index 938356e57..241358135 100644
--- a/test/integration/lib/send-new-ui.js
+++ b/test/integration/lib/send-new-ui.js
@@ -5,8 +5,6 @@ const {
findAsync,
} = require('../../lib/util')
-const PASSWORD = 'password123'
-
QUnit.module('new ui send flow')
QUnit.test('successful send flow', (assert) => {
diff --git a/test/integration/lib/tx-list-items.js b/test/integration/lib/tx-list-items.js
index 98d624b5e..6b67b1d2e 100644
--- a/test/integration/lib/tx-list-items.js
+++ b/test/integration/lib/tx-list-items.js
@@ -1,6 +1,5 @@
const reactTriggerChange = require('../../lib/react-trigger-change')
const {
- timeout,
queryAsync,
findAsync,
} = require('../../lib/util')