/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/css/import/index.js
14 строк
285 B
alexander.akait
feat: added `url` and `import` options for CSS
01 ноя 2024, 18:43
01 ноя 2024, 18:43
5e09d0e
Код
Авторство
О чём код?
import "./style.css"; it("should compile", done => { 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(); done(); });