/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/css/url/index.js
13 строк
288 B
Alexander Akait
test: added `postcss-modules-extract-imports` tests (#20099)
06 ноя 2025, 22:30
Не верифицирован
06 ноя 2025, 22:30
13cdb57
Код
Авторство
О чём код?
import "./style.css"; it(`should work with URLs in CSS`, () => { const links = document.getElementsByTagName("link"); const css = []; // Skip first because import it by default for (const link of links.slice(1)) { css.push(link.sheet.css); } expect(css).toMatchSnapshot(); });