Skip to content

Commit ee124a0

Browse files
committed
Format it!
1 parent c4567a8 commit ee124a0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

exercises/concept/freelancer-rates/freelancer-rates.spec.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,17 @@ describe('days in budget', () => {
5858
});
5959

6060
describe('cost with monthly discount', () => {
61-
test('at 16/hour for 70 days', () => {
62-
const actual = priceWithMonthlyDiscount(16, 70, 0);
63-
const expected = 8960;
64-
expect(actual).toBeCloseTo(expected, DIFFERENCE_PRECISION_IN_DIGITS);
65-
});
61+
test('at 16/hour for 70 days', () => {
62+
const actual = priceWithMonthlyDiscount(16, 70, 0);
63+
const expected = 8960;
64+
expect(actual).toBeCloseTo(expected, DIFFERENCE_PRECISION_IN_DIGITS);
65+
});
6666

67-
test('at 16/hour for 130 days with 15% discount', () => {
68-
const actual = priceWithMonthlyDiscount(16, 130, 0.15);
69-
const expected = 14528;
70-
expect(actual).toBeCloseTo(expected, DIFFERENCE_PRECISION_IN_DIGITS);
71-
});
67+
test('at 16/hour for 130 days with 15% discount', () => {
68+
const actual = priceWithMonthlyDiscount(16, 130, 0.15);
69+
const expected = 14528;
70+
expect(actual).toBeCloseTo(expected, DIFFERENCE_PRECISION_IN_DIGITS);
71+
});
7272
test('at 29.654321/hour for 220 days with 11.2%', () => {
7373
const actual = priceWithMonthlyDiscount(29.654321, 220, 0.112);
7474
const expected = 46347;

0 commit comments

Comments
 (0)