Skip to content

Commit

Permalink
Add comments for tests in zoomView_diffstat.cy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nseah21 committed Jul 15, 2023
1 parent 0ae39bd commit 70183cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/cypress/tests/zoomView/zoomView_diffstat.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ describe('diffstat', () => {
.should('be.visible');
});

// Assumptions: The commit selected here is @eugenepeh's
// `README: Fix grammatical error` with 1 insertion and 1 deletion.
it('should render non-empty contribution bars for commits with changes', () => {
cy.get('.icon-button.fa-list-ul')
.should('be.visible')
Expand All @@ -29,6 +31,8 @@ describe('diffstat', () => {
});
});

// Assumptions: The commit selected here is @eugenepeh's
// `Merge branch 'new-branch` into cypress` with 0 insertions and 0 deletions.
it('should render empty contribution bars for commits with no changes', () => {
cy.get('.icon-button.fa-list-ul')
.should('be.visible')
Expand Down

0 comments on commit 70183cf

Please sign in to comment.