/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/plugins/source-map-dev-tool-plugin/index.js
12 строк
546 B
Viktor Szépe
Fix typos
19 фев 2024, 19:46
19 фев 2024, 19:46
10014b8
Код
Авторство
О чём код?
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, "public/test.js"), "utf-8"); expect(source).toMatch("//# sourceMappingURL=https://10.10.10.10/project/sourcemaps/test.js.map"); }); it("should write sourcemap file relative to fileContext", function() { var fs = require("fs"), path = require("path"); expect(fs.existsSync(path.join(__dirname, "sourcemaps/test.js.map"))).toBe(true); });