chore: remove todo

This commit is contained in:
Evan You 2019-10-21 10:04:02 -04:00
parent 1b9bd6912e
commit f241c92917

View File

@ -120,7 +120,6 @@ export function handleError(
function logError(err: Error, type: ErrorTypes, contextVNode: VNode | null) {
// default behavior is crash in prod & test, recover in dev.
// TODO we should probably make this configurable via `createApp`
if (
__DEV__ &&
!(typeof process !== 'undefined' && process.env.NODE_ENV === 'test')