Skip to content

Commit fd8f72c

Browse files
Convert to arrow function
1 parent c036319 commit fd8f72c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-copy-of-code/lesson-16/tests/checkout/orderSummaryTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ describe('test suite: renderOrderSummary', () => {
7878
expect(cart[0].productId).toEqual(productId2);
7979
});
8080

81-
it('updates the delivery option', function() {
81+
it('updates the delivery option', () => {
8282
document.querySelector(`.js-delivery-option-${productId1}-3`).click();
8383

8484
expect(

0 commit comments

Comments
 (0)