chore: fix tests

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-08-15 11:36:19 +02:00
parent 549d5502cc
commit a737904cac
@@ -59,10 +59,11 @@ function createTestExtension(options: {
children: createExtensionInput([coreExtensionData.reactElement]),
},
*factory() {
if (options.path) {
if (options.path !== undefined) {
yield coreExtensionData.routePath(options.path);
}
if (options.routeRef) {
if (options.routeRef !== undefined) {
yield coreExtensionData.routeRef(options.routeRef);
}