From a77acc1001ba66e90d05a55dc2767191a14b1f6c Mon Sep 17 00:00:00 2001 From: David Lechner Date: Thu, 22 Dec 2022 13:02:55 -0600 Subject: [PATCH] firmware/bootloaderInstructions: hide video from tests The video element makes a bunch of noise (console.error) in tests. --- .../BootloaderInstructions.tsx | 52 ++++++++++--------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/src/firmware/bootloaderInstructions/BootloaderInstructions.tsx b/src/firmware/bootloaderInstructions/BootloaderInstructions.tsx index 157f173b..1c1e62ff 100644 --- a/src/firmware/bootloaderInstructions/BootloaderInstructions.tsx +++ b/src/firmware/bootloaderInstructions/BootloaderInstructions.tsx @@ -283,31 +283,33 @@ const BootloaderInstructions: React.VoidFunctionComponent< return ( <> - + {process.env.NODE_ENV !== 'test' && ( + + )}