/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/cases/context/issue-524/index.js
11 строк
310 B
Ryuya
chore: update Jest to `v30` (#19604)
12 июн 2025, 15:17
Не верифицирован
12 июн 2025, 15:17
574a887
Код
Авторство
О чём код?
it("should support an empty context", function() { var c = require.context(".", true, /^nothing$/); expect(typeof c.id === "number" || typeof c.id === "string").toBeTruthy(); expect(function() { c.resolve(""); }).toThrow(); expect(function() { c(""); }).toThrow(); expect(c.keys()).toEqual([]); });