 assert   = require 'assert'
 http     = require 'http'
 path     = require 'path'
+qs        = require 'querystring'
 
 {remote} = require 'electron'
 {protocol} = remote.require 'electron'

          error: (xhr, errorType, error) ->
            done(error)

  describe 'protocol.uninterceptProtocol', ->
    it 'returns error when scheme does not exist', (done) ->
      protocol.uninterceptProtocol 'not-exist', (error) ->

describe 'protocol module', ->
  protocolName = 'sp'
  text = 'valar morghulis'
  postData =
    name: 'post test'
    type: 'string'

  afterEach (done) ->
    protocol.unregisterProtocol protocolName, ->
