☕️ Classic, reliable, trusted test framework for Node.js and the browser
remove unneeded os-tmpdir
Christopher Hiller3833d3f23f7f
diff --git a/package.json b/package.jsonindex 6438aca2..f2ad7289 100644--- a/package.json+++ b/package.json@@ -326,7 +326,6 @@"growl": "1.9.2","json3": "3.3.2","mkdirp": "0.5.1",- "os-tmpdir": "1.0.1","pug": "2.0.0-beta3","supports-color": "3.1.2","to-iso-string": "0.0.2"diff --git a/test/acceptance/fs.js b/test/acceptance/fs.jsindex f4c92ea7..3a70f275 100644--- a/test/acceptance/fs.js+++ b/test/acceptance/fs.js@@ -1,6 +1,7 @@var fs = require('fs');var path = require('path');-var tmpFile = path.join.bind(path, require('os-tmpdir')());+var os = require('os');+var tmpFile = path.join.bind(path, os.tmpdir());describe('fs.readFile()', function(){describe('when the file exists', function(){diff --git a/test/acceptance/lookup-files.js b/test/acceptance/lookup-files.jsindex 7b84d931..958f1b70 100644--- a/test/acceptance/lookup-files.js+++ b/test/acceptance/lookup-files.js@@ -4,7 +4,7 @@ describe('lookupFiles', function() {var fs = require('fs'),path = require('path'),existsSync = fs.existsSync || path.existsSync,- tmpDir = require('os-tmpdir')(),+ tmpDir = require('os').tmpDir(),tmpFile = path.join.bind(path, tmpDir),symlinkSupported = false;