aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib/util.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-07-04 00:40:25 +0800
committerGitHub <noreply@github.com>2018-07-04 00:40:25 +0800
commit1f0cf11af1c94e750bbc4c5238c3ee028350a6c6 (patch)
tree5e8d89ef2d904d7b8dffaa356a6b21a8b542a693 /test/lib/util.js
parent4d9ef0dd7f3e788f7734c505b72edb4657ddec9d (diff)
parent53f1072ff467d6284d1fc3143330961749baaf5e (diff)
downloadtangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.tar.gz
tangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.tar.zst
tangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.zip
Merge pull request #4712 from MetaMask/lint-fix
Lint - Lint all the things (without conflicts!)
Diffstat (limited to 'test/lib/util.js')
-rw-r--r--test/lib/util.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lib/util.js b/test/lib/util.js
index 626280745..858565bb9 100644
--- a/test/lib/util.js
+++ b/test/lib/util.js
@@ -11,7 +11,7 @@ function timeout (time) {
})
}
-async function findAsync(container, selector, opts) {
+async function findAsync (container, selector, opts) {
try {
return await pollUntilTruthy(() => {
const result = container.find(selector)
@@ -22,7 +22,7 @@ async function findAsync(container, selector, opts) {
}
}
-async function queryAsync(jQuery, selector, opts) {
+async function queryAsync (jQuery, selector, opts) {
try {
return await pollUntilTruthy(() => {
const result = jQuery(selector)
@@ -33,7 +33,7 @@ async function queryAsync(jQuery, selector, opts) {
}
}
-async function pollUntilTruthy(fn, opts = {}){
+async function pollUntilTruthy (fn, opts = {}) {
const pollingInterval = opts.pollingInterval || 100
const timeoutInterval = opts.timeoutInterval || 5000
const start = Date.now()