<commit_before>var tap = Redash.tap

describe('(Function) tap', function () {
  var _spies

  beforeEach(function () {
    _spies = {}
    _spies.noop = sinon.spy()
  })

  it('Should be a function.', function () {
    expect(tap).to.be.a('function')
  })

  it('Should return a function.', function () {
    expect(tap()).to.be.a('function')
  })

  describe('The resulting function...', function () {
    var _tapped

    beforeEach(function () {
      _tapped = tap(function () {
        return null
      })
    })

    it('Should return the argument it receives.', function () {
      expect(_tapped('a')).to.equal('a')
    })
  })
})<commit_msg>chore(tap): cleanup test assertions<commit_after>var tap = Redash.tap

describe('(Function) tap', function () {
  var _spies

  beforeEach(function () {
    _spies = {}
    _spies.noop = sinon.spy()
  })

  it('Should return a function.', function () {
    tap.should.be.a('function')
  })

  describe('The resulting function...', function () {
    var _tapped

    beforeEach(function () {
      _tapped = tap(function () {
        return null
      })
    })

    it('Should return the argument it receives.', function () {
      _tapped('a').should.equal('a')
    })
  })
})
{'fraction_non_alphanumeric': 0.17263843648208468, 'fraction_numerical': 0.0, 'mean_word_length': 2.7018072289156625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1022773', 'n_tokens_mistral': 411, 'n_tokens_neox': 390, 'n_words': 83}