mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
add comment to tests
This commit is contained in:
@@ -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 = () => {};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user