test: migrate from tape to tap

PR-URL: https://github.com/nodejs/node-gyp/pull/1795
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
Rod Vagg 2019-06-22 13:35:45 +10:00
parent 03683f09d6
commit a52c6eb9e8
No known key found for this signature in database
GPG key ID: C273792F7D83545D
14 changed files with 23 additions and 17 deletions

View file

@ -1,6 +1,6 @@
'use strict'
var test = require('tape')
var test = require('tap').test
var path = require('path')
var gyp = require('../lib/node-gyp')
var requireInject = require('require-inject')
@ -17,6 +17,8 @@ var EXPECTED_PYPATH = path.join(__dirname, '..', 'gyp', 'pylib')
var SEPARATOR = process.platform == 'win32' ? ';' : ':'
var SPAWN_RESULT = { on: function () { } }
require('npmlog').level = 'warn'
test('configure PYTHONPATH with no existing env', function (t) {
t.plan(1)