Skip to content

Commit 80585e5

Browse files
committed
Merge branch 'dev' into justin/event-metrics
2 parents b1f9535 + 0dd75cf commit 80585e5

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

__tests__/charts/HealthChart.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ describe('HealthChart', () => {
3030
const props = {
3131
key: 'testKey',
3232
dataType: 'Memory in Megabytes',
33+
serviceName: 'serviceName',
3334
chartData: mockData,
3435
categoryName: 'Test Name',
3536
sizing: 'all',

app/components/Occupied.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ const Occupied = React.memo(() => {
8686
// Grab services and applications whenever the user changes
8787
// v10: Runs once when Occupied is memoized, and subsequently when user is updated.
8888
useEffect(() => {
89-
// console.log('Hi, inside Occupied.ts useEffect function.');
9089
setServicesData([]);
9190
getApplications();
9291
}, [user]);

app/containers/HealthContainer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ const HealthContainer: React.FC<HealthContainerProps> = React.memo(props => {
113113
const typeGroupedObject = {};
114114
// iterate over the services in the healthData object
115115
for (const serviceName in filteredHealthData) {
116-
console.log('service name in datatype function: ', serviceName);
117116
// save the filtered metrics of the current service to a variable
118117
// define the types of each metric in the metrics object as an array
119118
const metrics: object = filteredHealthData[serviceName];

app/context/ApplicationContext.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const ApplicationContextProvider: React.FC<AppContextProps> = React.memo(props =
6060
* @params application - is the name of the card taht was clicked on
6161
*/
6262
const connectToDB = useCallback((username: string, index: number, application: string, URI: string, databaseType: string) => {
63-
// console.log('Hi, inside ApplicationContext, connectToDB function was invoked.');
63+
console.log('Hi, inside ApplicationContext, connectToDB function was invoked.');
6464
ipcRenderer.removeAllListeners('databaseConnected');
6565
ipcRenderer.send('connect', username, index, URI, databaseType);
6666
ipcRenderer.on('databaseConnected', (event: Electron.Event, data: any) => {
@@ -130,4 +130,4 @@ export default ApplicationContextProvider;
130130
// console.log({ error: e });
131131
// }
132132
// return false;
133-
// }
133+
// }

0 commit comments

Comments
 (0)