it(`should throw if first argument is not a function`, () => {
    expect(hammerDriver.bind(null, `not a function`)).to.throw(
      / given to hammerDriver\(\) must be a DOM driver function/
    )
  })