You could just `assert.ok(false, 'onHashChange should not be called')`