/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/hotCases/css/single-css-entry/index.js
19 строк
549 B
hai-x
test: refactor NEXT in HotTestCases (#20470)
18 фев 2026, 14:31
Не верифицирован
18 фев 2026, 14:31
7f662db
Код
Авторство
О чём код?
it("should work", done => { const links = window.document.getElementsByTagName("link"); expect(links[0].sheet.css).toContain("color: red;"); NEXT_DEFERRED( 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(); }) ); }) ); });