aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-15 01:32:55 +0800
committerkumavis <aaron@kumavis.me>2018-03-15 01:32:55 +0800
commit39a831e2a08c1dfe6b80edc129a3ace8a2831824 (patch)
treed32da4a336307adcd16b293ebd7335f0c6e9018e /test/unit
parent481983aae873d1fb7cceef2cb42ec4fb0580368a (diff)
downloadtangerine-wallet-browser-39a831e2a08c1dfe6b80edc129a3ace8a2831824.tar
tangerine-wallet-browser-39a831e2a08c1dfe6b80edc129a3ace8a2831824.tar.gz
tangerine-wallet-browser-39a831e2a08c1dfe6b80edc129a3ace8a2831824.tar.bz2
tangerine-wallet-browser-39a831e2a08c1dfe6b80edc129a3ace8a2831824.tar.lz
tangerine-wallet-browser-39a831e2a08c1dfe6b80edc129a3ace8a2831824.tar.xz
tangerine-wallet-browser-39a831e2a08c1dfe6b80edc129a3ace8a2831824.tar.zst
tangerine-wallet-browser-39a831e2a08c1dfe6b80edc129a3ace8a2831824.zip
deps - use pify instead of util.promisify
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/development/version–bump-test.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/unit/development/version–bump-test.js b/test/unit/development/version–bump-test.js
index 1c445c8b4..5e37d4410 100644
--- a/test/unit/development/version–bump-test.js
+++ b/test/unit/development/version–bump-test.js
@@ -1,6 +1,6 @@
const assert = require('assert')
const versionBump = require('../../../development/version-bump')
-const { promisify } = require('util')
+const promisify = require('pify')
const fs = require('fs')
const readFile = promisify(fs.readFile)
const path = require('path')
@@ -41,5 +41,3 @@ describe('version bumper', function () {
assert.ok(result.changelog.includes(expected))
})
})
-
-