       expect(mockAdd).to.have.been.calledWith result.coverage
       expect(mockMkdir).to.have.been.called
       args = mockMkdir.lastCall.args
-      expect(args[0]).to.deep.equal path.resolve(rootConfig.coverageReporter.dir)
+      expect(args[0]).to.deep.equal path.resolve('/base', rootConfig.coverageReporter.dir)
       args[1]()
       expect(mockFs.writeFile).to.have.been.calledWith
       args2 = mockFs.writeFile.lastCall.args


    it 'has no pending file writings', ->
      done = sinon.spy()
      emitter.emit 'exit', done
      expect(done).to.have.been.called

    it 'has no coverage', ->

      reporter.onRunComplete browsers
      expect(mockMkdir).to.have.been.calledTwice
      dir = rootConfig.coverageReporter.dir
      expect(mockMkdir.getCall(0).args[0]).to.deep.equal path.resolve('/base', dir, fakeChrome.name)
      expect(mockMkdir.getCall(1).args[0]).to.deep.equal path.resolve('/base', dir, fakeOpera.name)
      mockMkdir.getCall(0).args[1]()
      expect(mockReportCreate).to.have.been.called
      expect(mockWriteReport).to.have.been.called
