mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix global leak in watch tests (again)
This commit is contained in:
parent
ebca753fc4
commit
9e472ed83c
@ -34,10 +34,10 @@ describe('watch Node', function() {
|
||||
count++;
|
||||
return {
|
||||
dirToWatch:dirToWatch,
|
||||
file0ToWatch:path.join(dirToWatch, "file0.txt");,
|
||||
file1ToWatch:path.join(dirToWatch, "file1.txt");,
|
||||
subDirToWatch:path.join(dirToWatch, "subdir");,
|
||||
file2ToWatch:path.join(subDirToWatch, "file2.txt");
|
||||
file0ToWatch:path.join(dirToWatch, "file0.txt"),
|
||||
file1ToWatch:path.join(dirToWatch, "file1.txt"),
|
||||
subDirToWatch:path.join(dirToWatch, "subdir"),
|
||||
file2ToWatch:path.join(subDirToWatch, "file2.txt")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user