Skip to content

Commit 925b79b

Browse files
committed
logs be gone
1 parent 7c22e21 commit 925b79b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/__tests__/Loader.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import Loader from '../components/ErrorHandling/Loader';
66
describe('unit testing for Loader.tsx', () => {
77
test('renders a loading icon', () => {
88
const { container } = render(<Loader loading={true} result={false} />);
9-
console.log('this is our container.firstChild: ', container.firstChild);
9+
// console.log('this is our container.firstChild: ', container.firstChild);
1010
expect(container.firstChild).toHaveClass('docs-story css-kdwx3d');
1111
});
1212

1313
test('renders a fail icon', () => {
1414
const { container } = render(<Loader loading={false} result={false} />);
15-
console.log('this is a fail2: ', container.getElementsByClassName('fail')[0]);
15+
// console.log('this is a fail2: ', container.getElementsByClassName('fail')[0]);
1616
expect(container.getElementsByClassName('fail').length).toBe(1);
1717
});
1818

src/app/components/DiffRoute/Diff.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function Diff(props: DiffProps): JSX.Element {
9292
const delta = diff(previousDisplay, snapshot); // diff function from 'jsondiffpatch' returns the difference in state between 'previousDisplay' and 'snapshot'
9393

9494
const html = formatters.html.format(delta, previousDisplay); // formatters function from 'jsondiffpatch' returns an html string that shows the difference between delta and the previousDisplay
95-
console.log(html);
95+
// console.log(html);
9696

9797
if (show)
9898
formatters.html.showUnchanged(); // shows unchanged values if we're on the '/diffRaw' path

0 commit comments

Comments
 (0)