From f5e414750234a67031e90205d632a2e4586f7b10 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Wed, 7 Oct 2020 08:30:11 -0700 Subject: [PATCH] add comment to tests --- awx/ui_next/src/components/FormField/sortErrorMessages.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/ui_next/src/components/FormField/sortErrorMessages.test.js b/awx/ui_next/src/components/FormField/sortErrorMessages.test.js index c16ed7cc9a..ff327fd964 100644 --- a/awx/ui_next/src/components/FormField/sortErrorMessages.test.js +++ b/awx/ui_next/src/components/FormField/sortErrorMessages.test.js @@ -3,6 +3,7 @@ import sortErrorMessages from './sortErrorMessages'; describe('sortErrorMessages', () => { let consoleError; beforeEach(() => { + // Component logs errors to console. Hide those during testing. consoleError = global.console.error; global.console.error = () => {}; });