/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/html/default-entry/test.js
7 строк
275 B
Alexander Akait
feat: resolve default ./src entry to index.html/index.css under experiments (#21039)
26 май 2026, 17:19
Не верифицирован
26 май 2026, 17:19
169b511
Код
Авторство
О чём код?
const fs = require("fs"); const path = require("path"); it("should resolve `./src` to src/index.html over src/index.js", () => { const html = fs.readFileSync(path.resolve(__dirname, "index.html"), "utf-8"); expect(html).toContain("<title>Default entry HTML</title>"); });