Skip to content

Commit 2bc209b

Browse files
committed
Fixed the code in one line with prettier-ignore.
1 parent 898abfc commit 2bc209b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Sprint-2/interpret/invert.test.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ test("inverts an object with unique keys", () => {
55
});
66

77
test("inverts an object with string keys", () => {
8-
expect(invert({ cat: "meow", dog: "bark" })).toStrictEqual({
9-
meow: "cat",
10-
bark: "dog",
11-
});
8+
// prettier-ignore
9+
expect(invert({ cat: "meow", dog: "bark" })).toStrictEqual({ meow: "cat", bark: "dog"});
1210
});
1311

1412
test("inverts an empty object", () => {

0 commit comments

Comments
 (0)