Skip to content

Commit edb7676

Browse files
committed
running into typescript error re match on GraphsContainer, testing will stay on hold until error is resolved.
1 parent 59c02ac commit edb7676

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
import React from 'react';
2+
import { configure, shallow, render } from 'enzyme';
3+
4+
import GraphsContainer from '../../../app/containers/GraphsContainer'
5+
import SpeedChart from '../../../app/charts/speed-chart'
6+
7+
8+
19
xdescribe('<GraphsContainer />', () => {
2-
it('should');
10+
it('should', () => {
11+
const wrapper = shallow(<GraphsContainer />);
12+
expect(wrapper.contains(<SpeedChart/>)).toBe(true)
13+
});
314
});

__tests__/app/containers/SidebarContainer.test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ import { Link } from 'react-router-dom';
88
describe('<SidebarContainer />', () => {
99
it('should render an <img> tag with the Chronos logo', () => {
1010
const wrapper = shallow(<SidebarContainer />);
11-
console.log(wrapper.debug({ verbose: true }))
12-
11+
1312
expect(wrapper.contains(<img alt="Chronos Logo" id="serviceDashLogo" src="../assets/icon2Cropped.png" />)).toBe(true);
1413
});
1514
it("should render a <Link /> with the label as 'Home'", () => {

0 commit comments

Comments
 (0)