<commit_before>define ['interface', 'sharedExamples'], (Interface, SE) ->
  describe 'Interface', ->
    subject         =
    JasmineMock     =
    WrapperMock     =
    ArgsWrapperMock = undefined

    beforeEach ->
      WrapperMock     = jasmine.createSpyObj 'WrapperMock', ['it']
      ArgsWrapperMock = jasmine.createSpy('ArgsWrapperMock').and.returnValue WrapperMock
      JasmineMock     = jasmine.createSpyObj 'JasmineMock', ['it', 'iit', 'fit', 'xit']
      subject         = new Interface(JasmineMock, ArgsWrapperMock)

    it 'should be defined', ->
      expect(subject).toBeDefined()

    it 'should respond to it', ->
      expect(subject.it).toBeDefined()
      expect(typeof(subject.it)).toBe 'function'

    it 'should respond to iit', ->
      expect(subject.iit).toBeDefined()
      expect(typeof(subject.iit)).toBe 'function'

    it 'should not fails with bad or empty context', ->
      expect(=> new Interface()).not.toThrow(new TypeError("Cannot read property 'jasmine' of undefined"))
      expect(=> new Interface()).not.toThrow(jasmine.any(Error))
      expect(=> new Interface({})).not.toThrow(jasmine.any(Error))

    describe 'it, iit, fit, xit should work identically', ->
      SE.expects_it_like_behaviour_from('it')
      SE.expects_it_like_behaviour_from('iit')
      SE.expects_it_like_behaviour_from('fit')
      SE.expects_it_like_behaviour_from('xit')

    describe '#set', ->

      it 'should be defined', ->
        expect(subject.set).toBeDefined()

      fit 'should not raise an error', ->
        subject.set(-> collection.letBe 'something')
        # expect(=> subject.set(-> collection.letBe 'something')).not.toThrow(new ReferenceError('collection is not defined'))
        # expect(=> subject.set(-> collection.letBe 'something')).not.toThrow(jasmine.any(Error))<commit_msg>unfit #set test<commit_after>define ['interface', 'sharedExamples'], (Interface, SE) ->
  describe 'Interface', ->
    subject         =
    JasmineMock     =
    WrapperMock     =
    ArgsWrapperMock = undefined

    beforeEach ->
      WrapperMock     = jasmine.createSpyObj 'WrapperMock', ['it']
      ArgsWrapperMock = jasmine.createSpy('ArgsWrapperMock').and.returnValue WrapperMock
      JasmineMock     = jasmine.createSpyObj 'JasmineMock', ['it', 'iit', 'fit', 'xit']
      subject         = new Interface(JasmineMock, ArgsWrapperMock)

    it 'should be defined', ->
      expect(subject).toBeDefined()

    it 'should respond to it', ->
      expect(subject.it).toBeDefined()
      expect(typeof(subject.it)).toBe 'function'

    it 'should respond to iit', ->
      expect(subject.iit).toBeDefined()
      expect(typeof(subject.iit)).toBe 'function'

    it 'should not fails with bad or empty context', ->
      expect(=> new Interface()).not.toThrow(new TypeError("Cannot read property 'jasmine' of undefined"))
      expect(=> new Interface()).not.toThrow(jasmine.any(Error))
      expect(=> new Interface({})).not.toThrow(jasmine.any(Error))

    describe 'it, iit, fit, xit should work identically', ->
      SE.expects_it_like_behaviour_from('it')
      SE.expects_it_like_behaviour_from('iit')
      SE.expects_it_like_behaviour_from('fit')
      SE.expects_it_like_behaviour_from('xit')

    describe '#set', ->

      it 'should be defined', ->
        expect(subject.set).toBeDefined()

      it 'should not raise an error', ->
        expect(=> subject.set(-> collection.letBe 'something')).not.toThrow(new ReferenceError('collection is not defined'))
        expect(=> subject.set(-> collection.letBe 'something')).not.toThrow(jasmine.any(Error))
{'fraction_non_alphanumeric': 0.1432943795214246, 'fraction_numerical': 0.0, 'mean_word_length': 3.3894993894993894, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 40, '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': '3680080', 'n_tokens_mistral': 1121, 'n_tokens_neox': 1062, 'n_words': 230}