Skip to content

Commit 4254fac

Browse files
committed
add typecripst compatible tests
1 parent 320ae2c commit 4254fac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/app/components/StateRoute.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
import React from 'react';
44
import { MemoryRouter as Router, Route, NavLink, Switch } from 'react-router-dom';
55

6-
// import Chart from './Chart';
6+
77
const Chart = require('./Chart').default;
88
import Tree from './Tree';
99
import PerfView from './PerfView';
10-
// import ErrorHandler from './ErrorHandler';
1110
const ErrorHandler = require('./ErrorHandler').default;
1211

1312
const NO_STATE_MSG = 'No state change detected. Trigger an event to change state';

src/app/reducers/mainReducer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import produce from 'immer';
33
import * as types from '../constants/actionTypes.ts';
44

5-
65
export default (state, action) => produce(state, draft => {
76
const { port, currentTab, tabs } = draft;
87
const {

src/extension/background.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ class Node {
4646
// eslint-disable-next-line no-multi-assign
4747
// eslint-disable-next-line no-plusplus
4848
// gabi and nate :: continue the order of number of total state changes
49+
// eslint-disable-next-line no-plusplus
4950
this.index = tabObj.index++;
5051
// gabi and nate :: continue the order of number of states changed from that parent
52+
// eslint-disable-next-line no-multi-assign
5153
this.name = tabObj.currParent += 1;
5254
// gabi and nate :: mark from what branch this node is originated
5355
this.branch = tabObj.currBranch;

0 commit comments

Comments
 (0)