/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/css/css-modules/index-options.js
15 строк
429 B
Alexander Akait
feat: added options to control renaming of identifiers in CSS modules
15 дек 2025, 22:30
Не верифицирован
15 дек 2025, 22:30
cafae23
Код
Авторство
О чём код?
import * as styles from "./style.module.css"; it("should allow to disable options", () => { expect(styles).toMatchSnapshot("options classes"); const fs = __non_webpack_require__("fs"); const path = __non_webpack_require__("path"); const cssOutputFilename = `bundle6.css`; const cssContent = fs.readFileSync( path.join(__dirname, cssOutputFilename), "utf-8" ); expect(cssContent).toMatchSnapshot("options css"); });