/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
test/e2e/on-request-error/_testing/utils.js
7 строк
210 B
Jiachi Liu
test: add dynamic routes and suspense test case for onRequestError (#67848)
17 июл 2024, 22:35
Не верифицирован
17 июл 2024, 22:35
b2e711a
Код
Авторство
О чём код?
export async function getOutputLogJson(next, outputLogPath) { if (!(await next.hasFile(outputLogPath))) { return {} } const content = await next.readFile(outputLogPath) return JSON.parse(content) }