Log a few more things

This commit is contained in:
Ash Wilson 2017-08-03 18:21:24 -04:00
parent a84694fac1
commit 7b61d4f62f
No known key found for this signature in database
GPG Key ID: 437900036C5A4049

View File

@ -560,6 +560,7 @@ describe "Project", ->
beforeEach ->
sub = atom.project.onDidChangeFiles (incoming) ->
logToFile "Events received: #{require('util').inspect incoming}"
events.push incoming...
checkCallback()
@ -597,6 +598,7 @@ describe "Project", ->
expect(atom.project.watchersByPath[dirTwo]).toEqual undefined
logToFile "Watching #{dirOne} but not #{dirTwo}\n"
logToFile "Writing #{fileOne}, #{fileTwo}, #{fileThree}"
fs.writeFileSync fileThree, "three\n"
fs.writeFileSync fileTwo, "two\n"
fs.writeFileSync fileOne, "one\n"