Skip to content

Commit 2a93536

Browse files
committed
style(json-walk): 💄 run Prettier
1 parent 39ed05e commit 2a93536

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/json-walk/__tests__/index.spec.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ test('can walk through null', () => {
3333
walk(value, (node) => {
3434
nodes.push(node);
3535
});
36-
expect(nodes).toEqual([
37-
null,
38-
]);
36+
expect(nodes).toEqual([null]);
3937
});
4038

4139
test('can walk empty object', () => {
@@ -44,9 +42,7 @@ test('can walk empty object', () => {
4442
walk(value, (node) => {
4543
nodes.push(node);
4644
});
47-
expect(nodes).toEqual([
48-
{},
49-
]);
45+
expect(nodes).toEqual([{}]);
5046
});
5147

5248
test('can walk empty array', () => {
@@ -55,7 +51,5 @@ test('can walk empty array', () => {
5551
walk(value, (node) => {
5652
nodes.push(node);
5753
});
58-
expect(nodes).toEqual([
59-
[],
60-
]);
54+
expect(nodes).toEqual([[]]);
6155
});

0 commit comments

Comments
 (0)