diff --git a/package.json b/package.json index 4adbc72b..fc5318b0 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,6 @@ "eslint-plugin-promise": "^3.0.0", "eslint-plugin-standard": "^2.0.0", "eslint-plugin-tape": "^1.1.0", - "is-admin": "^2.0.0", "nyc": "^10.0.0", "pkg-up": "^1.0.0", "rimraf": "^2.3.2", diff --git a/test/multitarget.js b/test/multitarget.js index f09af8f8..a1b68543 100644 --- a/test/multitarget.js +++ b/test/multitarget.js @@ -1,7 +1,6 @@ 'use strict' const config = require('./config.json') -const isAdmin = require('is-admin') const packager = require('..') const util = require('./util') const waterfall = require('run-waterfall') @@ -36,7 +35,7 @@ function createMultiTest (arch, platform) { } util.packagerTest('all test', (t) => { - t.timeoutAfter(config.timeout * 7) // 5-7 packages will be built during this test + t.timeoutAfter(config.timeout * 7) // 7 packages will be built during this test var opts = { name: 'basicTest', @@ -49,15 +48,6 @@ util.packagerTest('all test', (t) => { waterfall([ function (cb) { - if (process.platform === 'win32') { - isAdmin().then((admin) => { - if (!admin) expectedAppCount = 5 - cb() - }) - } else { - cb() - } - }, function (cb) { packager(opts, cb) }, function (finalPaths, cb) { // OS X only has 64-bit releases