1
0
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:
Nick O'Leary 2018-01-13 23:00:05 +00:00
parent ebca753fc4
commit 9e472ed83c
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -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")
}
}