                 done()
 
     it 'cleans the directories', (done) ->
-        #del.sync folders[0]
-        #del.sync folders[1]
+        del.sync folders[0]
+        del.sync folders[1]
         done()

    pid.kill()


# In this test, we launch 2 cozy-desktops in two directories, and make them
# synchronize via a central cozy instance. During ~20 seconds, we do some
# operations in both directory (like creating files, or moving folders).
# After that, we wait 10 seconds and we compare the 2 directories. They should
# be identical: same files and folders.
describe 'Property based testing', ->
    @timeout 60000

    before Cozy.ensurePreConditions

    it 'creates the directories for both instances', (done) ->
        fs.ensureDirSync folders[0]
        fs.ensureDirSync folders[1]
        makeOperations 200, done

    it 'registers two devices', (done) ->
        registerDevice 0, (err) ->
