 
   describe('When given empty API description document', ->
     compilationResult = undefined
-    schema = createCompilationResultSchema(
-      errors: 0
-      warnings: 1
-      transactions: 0
-    )
 
     fixtures.empty.forEachDescribe(({source}) ->
       beforeEach((done) ->

    err = undefined
    error = new Error('... dummy message ...')
    compilationResult = undefined
    schema = createCompilationResultSchema(
      errors: 1
      warnings: 0
      transactions: 0
    )

    beforeEach((done) ->
      dt = proxyquire('../../src/index',

      )
    )

    it('produces one annotation, no transactions', ->
      assert.jsonSchema(compilationResult, createCompilationResultSchema(
        annotations: 1
        transactions: 0
      ))
    )
    it('the annotation is an error', ->
      assert.equal(compilationResult.annotations[0].type, 'error')
    )
    it('the annotation is about parser failure', ->
      assert.include(
        compilationResult.annotations[0].message,
        'parser was unable to provide a valid parse result'
      )
    )
  )
