mirror of https://github.com/webpack/webpack.git
7 lines
342 B
JavaScript
7 lines
342 B
JavaScript
|
it("should contain publicPath prefix in [url] and resolve relatively to fileContext", function() {
|
||
|
var fs = require("fs"),
|
||
|
path = require("path");
|
||
|
var source = fs.readFileSync(path.join(__dirname, "dist/public/test.js"), "utf-8");
|
||
|
source.should.containEql("//# sourceMappingURL=https://10.10.10.10/project/sourcemaps/test.js.map");
|
||
|
});
|