fix: Bundler tests only pass when run from project root
This commit is contained in:
parent
0dbf17c621
commit
f375bdc02e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue