mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Allows unambigious assertions on CLI output. Not that interesting for dev but `next build` will have the logs for all pages in all tests. I also made the pages static where possible so that we'll be able to assert on the logged errors during `next build`.
10 lines
117 B
JavaScript
10 lines
117 B
JavaScript
'use client'
|
|
|
|
function throwError() {
|
|
throw new Error('ssr-throw')
|
|
}
|
|
|
|
export function Thrower() {
|
|
throwError()
|
|
}
|