/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/hotCases/css/imported-css/index.js
21 строка
564 B
hai-x
fix(css): avoid extra `module.export` output for css module (#19265)
06 апр 2025, 15:53
Не верифицирован
06 апр 2025, 15:53
e0891ee
Код
Авторство
О чём код?
import "./index.css" it("should work", done => { const links = window.document.getElementsByTagName("link"); expect(links[0].sheet.css).toContain("color: green;"); NEXT( require("../../update")(done, true, () => { const links = window.document.getElementsByTagName("link"); expect(links[0].sheet.css).toContain("color: blue;"); NEXT( require("../../update")(done, true, () => { const links = window.document.getElementsByTagName("link"); expect(links[0].sheet.css).toContain("color: yellow;"); done(); }) ); }) ); });