/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/errors/dependency-warning-stacks/index.js
9 строк
335 B
Alexander Akait
perf: reduce work on dependency hot paths and module diagnostics (#21559)
30 июл 2026, 20:12
Не верифицирован
30 июл 2026, 20:12
e7b15e8
Код
Авторство
О чём код?
import { missing, missingToo, present } from "./module"; import loadExpression from "./sub/critical"; it("should warn about the missing exports without executing the imports", () => { expect(present).toBe(1); expect(missing).toBe(undefined); expect(missingToo).toBe(undefined); expect(typeof loadExpression).toBe("function"); });