/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/css/basic-dynamic-only/index.js
9 строк
311 B
hai-x
fix(css): avoid extra `module.export` output for css module (#19265)
06 апр 2025, 15:53
Не верифицирован
06 апр 2025, 15:53
e0891ee
Код
Авторство
О чём код?
it("should compile and load style on demand", (done) => { import("./style.css").then(x => { expect(x).toEqual({}); const style = getComputedStyle(document.body); expect(style.getPropertyValue("background")).toBe(" red"); expect(style.getPropertyValue("margin")).toBe(" 10px"); done(); }, done); });