aboutsummaryrefslogtreecommitdiff
path: root/node_modules/resolve/test/faulty_basedir.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/resolve/test/faulty_basedir.js')
-rw-r--r--node_modules/resolve/test/faulty_basedir.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/node_modules/resolve/test/faulty_basedir.js b/node_modules/resolve/test/faulty_basedir.js
index 244081882..e20d937ca 100644
--- a/node_modules/resolve/test/faulty_basedir.js
+++ b/node_modules/resolve/test/faulty_basedir.js
@@ -1,16 +1,12 @@
-var path = require('path');
var test = require('tape');
var resolve = require('../');
-// not sure what's up with this test anymore
-if (process.platform !== 'win32') return;
-
-test('faulty basedir must produce error in windows', function (t) {
+test('faulty basedir must produce error in windows', { skip: process.platform !== 'win32' }, function (t) {
t.plan(1);
var resolverDir = 'C:\\a\\b\\c\\d';
- resolve('tape/lib/test.js', { basedir : resolverDir }, function (err, res, pkg) {
+ resolve('tape/lib/test.js', { basedir: resolverDir }, function (err, res, pkg) {
t.equal(true, !!err);
});