     it 'formats commands with the time, name and source', ->
       atom.commands.dispatch(workspaceElement, 'foo:bar')
 
-      expect(logger.getText()).toBe """
+      expect(removeScrollbarClass(logger.getText())).toBe """
         ```
-             -0:00.0 foo:bar (atom-workspace.workspace.scrollbars-visible-when-scrolling)
+             -0:00.0 foo:bar (atom-workspace.workspace)
         ```
       """
 

        time: Date.now()
        title: 'bummer'

      expect(logger.getText(event)).toBe """
        ```
             -0:00.0 foo:bar (atom-workspace.workspace.scrollbars-visible-when-scrolling)
             -0:00.0 bummer
        ```
      """

      dispatch('foo:second')
      dispatch('foo:third')

      expect(removeScrollbarClass(logger.getText())).toBe """
        ```
             -0:00.0 foo:first (atom-workspace.workspace)
             -0:00.0 foo:second (atom-workspace.workspace)
             -0:00.0 foo:third (atom-workspace.workspace)
        ```
      """

