/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/cases/async-modules/double-import/index.js
4 строки
168 B
Tobias Koppers
fix handling of errors thrown in async modules
27 янв 2022, 18:28
27 янв 2022, 18:28
804f49c
Код
Авторство
О чём код?
it("should allow to import an async module twice", async () => { const result = await require("./main"); expect(result.default).toBe("hello world, hello world"); });