Skip to content

Commit 34d2fb7

Browse files
committed
fix: js test
1 parent d86d83a commit 34d2fb7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Tree/_1379_find_a_corresponding_node_of_a_binary_tree_in_a_clone_of_that_tree.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,5 @@ function getTargetCopy(
5555
getTargetCopy(original.right, cloned.right, target)
5656
)
5757
}
58+
59+
test('test', async () => {})

util/crawl_leetcode.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { saveRecord } from './crawl_leetcode'
22

3-
let execute_test = true
4-
53
test('sync records', async () => {
6-
if (execute_test) {
4+
if (process.env.LOCAL) {
75
await saveRecord()
86
}
97
})

0 commit comments

Comments
 (0)