/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/watchCases/plugins/automatic-prefetch-plugin/0/index.js
10 строк
360 B
Tobias Koppers
remove Module.prefetched
22 авг 2018, 16:19
22 авг 2018, 16:19
e0f8465
Код
Авторство
О чём код?
it("should watch for changes", function() { if(+WATCH_STEP !== 3) expect(require("./delayed!./delayed")).toBe(WATCH_STEP); else expect(require("./delayed!./delayed")).toBe('This is only a test.' + WATCH_STEP); if(+WATCH_STEP > 0) { for(var m of STATS_JSON.modules.filter(m => /(a|b|c)\.js$/.test(m.identifier))) expect(m.issuer).toBe(null); } });