/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/module-classes/css-and-html/index.js
8 строк
248 B
Alexander Akait
refactor: create dedicated module classes per module type (#21164)
10 июн 2026, 20:58
Не верифицирован
10 июн 2026, 20:58
7917dd1
Код
Авторство
О чём код?
import page from "./page.html"; import * as style from "./style.css"; it("should create dedicated css and html module classes", () => { expect(style).toEqual({}); expect(typeof page).toBe("string"); expect(page).toMatch(/<h1>Hello<\/h1>/); });