/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/hotCases/runtime/bubble-update/index.js
11 строк
289 B
Florent Cailhol
Migrate HotTestCases to Jest
25 янв 2018, 01:31
25 янв 2018, 01:31
998f768
Код
Авторство
О чём код?
var value = require("./parent-file"); it("should bubble update from a nested dependency", (done) => { expect(value).toBe(1); module.hot.accept("./parent-file", () => { value = require("./parent-file"); expect(value).toBe(2); done(); }); NEXT(require("../../update")(done)); });