/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/module-classes/dedicated-module-classes/index.js
13 строк
412 B
Alexander Akait
refactor: create dedicated module classes per module type (#21164)
10 июн 2026, 20:58
Не верифицирован
10 июн 2026, 20:58
7917dd1
Код
Авторство
О чём код?
import data from "./data.json"; import auto from "./file.md"; import inlined from "./file.svg"; import url from "./file.png"; import source from "./file.txt"; it("should create dedicated module classes per module type", () => { expect(data.ok).toBe(true); expect(auto).toMatch(/^data:/); expect(inlined).toMatch(/^data:image\/svg/); expect(url).toMatch(/\.png$/); expect(source.trim()).toBe("source"); });