Skip to content

Commit

Permalink
refactor(repo): remove unused logs
Browse files Browse the repository at this point in the history
  • Loading branch information
robsonos committed Dec 29, 2024
1 parent d054606 commit d34148d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
8 changes: 2 additions & 6 deletions apps/spie-ui-e2e/src/e2e/updater.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ describe('Send routine', () => {
win.onAutoUpdaterEventTrigger(mockEvent);
});

cy.get('ion-toast')
.should('have.attr', 'color', 'danger')
.then(console.log);
cy.get('ion-toast').should('have.attr', 'color', 'danger');

cy.get('ion-toast')
.shadow()
Expand Down Expand Up @@ -251,9 +249,7 @@ describe('Send routine', () => {
win.onAutoUpdaterEventTrigger(mockEvent);
});

cy.get('ion-toast')
.should('have.attr', 'color', 'danger')
.then(console.log);
cy.get('ion-toast').should('have.attr', 'color', 'danger');
cy.get('ion-toast')
.shadow()
.find('.toast-header')
Expand Down
4 changes: 2 additions & 2 deletions apps/spie-ui/src/app/components/plotter/plotter.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ export class PlotterComponent {
);

if (newSeries.length === 0) {
console.warn('Empty series returned');
// console.warn('Empty series returned');
return;
}

// Update series with the correct amount of variables
if (this.series().length !== newSeries.length) {
console.warn('Number of variables has changed');
// console.warn('Number of variables has changed');
this.series.set(newSeries);
return;
}
Expand Down
2 changes: 0 additions & 2 deletions apps/spie-ui/src/app/utils/message-parser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ describe('PlotterComponent', () => {
const parsedMessages = messages.map((message) => {
return MessageParser.parse(message, useSampleCount);
});
// console.log(JSON.stringify(parsedMessages));
expect(parsedMessages).toEqual(assertion);
});

Expand Down Expand Up @@ -196,7 +195,6 @@ describe('PlotterComponent', () => {
const parsedMessages = messages.map((message) => {
return MessageParser.parse(message, useSampleCount);
});
// console.log(JSON.stringify(parsedMessages));
expect(parsedMessages).toEqual(assertion);
});

Expand Down

0 comments on commit d34148d

Please sign in to comment.