 
      teardown: ->
        React.unmountComponentAtNode(@div)
+       wrapper.innerHTML = ""
 
 
 

      @filesCollection.add(@file3)
      @currentFolder = new Folder()
      @currentFolder.files = @filesCollection
      @div = $('<div>').appendTo('body')[0]

      Modal.setAppElement(@div)



  Simulate = React.addons.TestUtils.Simulate
  FilePreview = stubRouterContext FilePreviewComponent
  wrapper = null

  module 'File Preview Rendering',
    setup: ->
