fix: remove debugging console log

This commit is contained in:
wancat committed 2023-10-29 17:42:31 +08:00
1 parent 40b6d3cd86
commit 917083ad30
7 files changed
+1 -23

No files matched your search

-5
View File
@@ -30,7 +30,6 @@ describe('FileGraph', () => {
fileGraph.add(filesToAdd)
console.log(fileGraph.toString())
expect(fileGraph.children.length).toBe(1)
expect(fileGraph.children[0].children[0].children.length).toBe(2)
})
@@ -76,7 +75,6 @@ describe('FileGraph', () => {
fileGraph.remove(filesToRemove)
console.log(fileGraph.toString())
expect(fileGraph.children[0].children[0].children.length).toBe(1)
expect(fileGraph.children[0].children[0].children[0].name).toBe('folder1')
expect(fileGraph.children[0].children[0].children[0].children.length).toBe(
@@ -110,7 +108,6 @@ describe('FileGraph', () => {
]
fileGraph.discover(discoverFiles)
console.log(fileGraph.toString())
expect(fileGraph.children[0].children[0].children[0].children.length).toBe(
3
)
@@ -143,7 +140,6 @@ describe('FileGraph', () => {
]
fileGraph.add(filesToAdd)
console.log(fileGraph.toString())
const newFiles = [
{
@@ -170,7 +166,6 @@ describe('FileGraph', () => {
fileGraph.discover(newFiles)
console.log(fileGraph.toString())
expect(fileGraph.children[0].children[0].children.length).toBe(2)
expect(fileGraph.children[0].children[0].children[0].children.length).toBe(
3