Skip to content

Commit 9ca1a74

Browse files
authored
Apply suggestions from code review
1 parent fe31c60 commit 9ca1a74

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test-traversal.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ describe('traversal', () => {
8181
same(value, callArray[index])
8282
})
8383
})
84+
8485
test('block with links', async () => {
8586
// Test Case 2
8687
// Input
@@ -98,6 +99,7 @@ describe('traversal', () => {
9899
same(value, callArray[index])
99100
})
100101
})
102+
101103
test('block with matching links', async () => {
102104
// Test Case 3
103105
// Input
@@ -115,6 +117,7 @@ describe('traversal', () => {
115117
same(value, callArray[index])
116118
})
117119
})
120+
118121
test('depth first with duplicated block', async () => {
119122
// Test Case 4
120123
// Input
@@ -140,6 +143,7 @@ describe('traversal', () => {
140143
same(value, callArray[index])
141144
})
142145
})
146+
143147
test('null return', async () => {
144148
const links = []
145149
const value = createNode(Uint8Array.from('test'), links)

0 commit comments

Comments
 (0)