               when "ttf" then "binary ttf-icon font"
               when "gif" then "binary gif-icon image"
 
+        openFile()
+
         waitsFor ->
           archiveEditor.element.querySelectorAll('.entry').length > 0
 

        FileIcons.setService
          iconClassForPath: (path, context) -> "icon-" + context

        waitsFor ->
          archiveEditor.element.querySelectorAll('.entry').length > 0


        expect(archiveEditor.view.refs.errorMessage.textContent.length).toBeGreaterThan 0

  describe "FileIcons", ->
    openFile = ->
      waitsForPromise ->
        atom.workspace.open('file-icons.zip')

