text: const test = require('ava')
  const sinon = require('sinon')
  const plugin = require('../plugin')
  
  test('removes Firebase', async t => {
    const removeModule = sinon.spy()
    const removePluginComponentExample = sinon.spy()
  
    const context = {
      ignite: { removeModule, removePluginComponentExample }
    }
  
    await plugin.remove(context)
  
    t.true(removeModule.calledWith('react-native-firebase', { unlink: true }))
    t.true(removePluginComponentExample.calledWith('FirebaseExample.js'))
  })
  