fix: Bundler tests only pass when run from project root

This commit is contained in:
Már Örlygsson 2018-04-21 21:47:38 +00:00 committed by Pierre-Yves Gérardy
parent 0dbf17c621
commit f375bdc02e

View file

@ -5,7 +5,7 @@ var bundle = require("../bundle")
var fs = require("fs")
var ns = "bundler/tests/"
var ns = "./"
function read(filepath) {
try {return fs.readFileSync(ns + filepath, "utf8")} catch (e) {/* ignore */}
}