Improve code coverage

This commit is contained in:
David Lechner
2022-02-22 12:32:20 -06:00
parent b3ed75f02b
commit a0da9f7111
6 changed files with 153 additions and 1 deletions
+1
View File
@@ -106,6 +106,7 @@ const Terminal: React.FC = (_props) => {
// xterm.open() has to be called after terminalRef has been rendered
useEffect(() => {
// istanbul ignore if: should not happen ever
if (!terminalRef.current) {
console.error('Missing terminal reference');
return;