mirror of https://github.com/nodejs/node.git
10 lines
292 B
JavaScript
10 lines
292 B
JavaScript
var fs = require("fs")
|
|
var assert = require("assert")
|
|
var path = require("path")
|
|
|
|
// sax should be the only dep that ends up installed
|
|
|
|
var dir = path.resolve(__dirname, "node_modules")
|
|
assert.deepEqual(fs.readdirSync(dir), ["sax"])
|
|
assert.equal(require("sax/package.json").version, "0.3.5")
|