Skip to content

Commit

Permalink
Removing unnecessary checks in integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
saboya committed Jan 28, 2018
1 parent b7b4b00 commit 3c5abcf
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/integration-test.js
Expand Up @@ -7,10 +7,6 @@ var rm = require('rimraf')
var cwd = path.join(__dirname, 'native-module')

test('can prebuild a native module for electron', function (t) {
if (process.versions.modules === '11') {
console.log('Skipping test on node 0.10!')
return t.end()
}
rm.sync(path.join(cwd, 'prebuilds'))
var file = 'native-v1.0.0-electron-v50-' + process.platform + '-' + process.arch + '.tar.gz'
var prebuild = path.join(cwd, 'prebuilds', file)
Expand All @@ -22,10 +18,6 @@ test('can prebuild a native module for electron', function (t) {
})

test('can prebuild a native module for node-webkit', function (t) {
if (process.versions.modules === '11') {
console.log('Skipping test on node 0.10!')
return t.end()
}
rm.sync(path.join(cwd, 'prebuilds'))
var file = 'native-v1.0.0-node-webkit-v59-' + process.platform + '-' + process.arch + '.tar.gz'
var prebuild = path.join(cwd, 'prebuilds', file)
Expand Down

0 comments on commit 3c5abcf

Please sign in to comment.