Skip to content

Commit cf1525b

Browse files
committed
Revert "only warns & errors get caught by selenium"
This reverts commit 28720ee.
1 parent 28720ee commit cf1525b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

node_package/src/ComponentRegistry.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { RegisteredComponent, ReactComponentOrRenderFunction, RenderFunctio
22
import isRenderFunction from './isRenderFunction';
33

44
function logRegisteredComponents(value: string, key: string) {
5-
console.warn(key);
5+
console.info(key);
66
}
77

88
const registeredComponents = new Map();
@@ -21,7 +21,7 @@ export default {
2121
if (!component) {
2222
throw new Error(`Called register with null component named ${name}`);
2323
}
24-
console.warn("registering ".concat(name, " component"));
24+
console.info("registering ".concat(name, " component"));
2525

2626
const renderFunction = isRenderFunction(component);
2727
const isRenderer = renderFunction && (component as RenderFunction).length === 3;
@@ -33,7 +33,7 @@ export default {
3333
isRenderer,
3434
});
3535

36-
console.warn("Registered components: ");
36+
console.info("Registered components: ");
3737
registeredComponents.forEach(logRegisteredComponents)
3838
});
3939
},

0 commit comments

Comments
 (0)