Skip to content

Commit 0734767

Browse files
committed
test(wtr): avoid accidentally not running tests again
1 parent 5dbe1e9 commit 0734767

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/@lwc/integration-not-karma/configs/plugins/test-hydration.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ export function runTest(configPath, componentPath, ssrRendered) {
9393
container,
9494
selector,
9595
});
96+
} else {
97+
throw new Error(`Missing test or advancedTest function in ${configPath}.`);
9698
}
9799
});
98100
}

0 commit comments

Comments
 (0)