<commit_before>describe "UploadedFile", ->

  it "should be successfuly created with corrent file info", ->

    mocks.use 'jsonp'
    mocks.jsonp.addHandler /\/info\/$/, (url, data) ->
      original_filename: 'kitty.jpg'
      size: 100
      is_image: true
      is_public: false

    file = uploadcare.fileFrom('uploaded', '11e85a4c-30c2-430b-8fba-1c60a18bded8')

    waitsFor (-> file.state() is 'resolved'), "successfuly created", 100

    runs ->
      file.done (info) ->
        expect(info.uuid).toEqual '11e85a4c-30c2-430b-8fba-1c60a18bded8'
        expect(info.name).toEqual 'kitty.jpg'
        expect(info.size).toEqual 100
        expect(info.isImage).toEqual true
        expect(info.isStored).toEqual false

<commit_msg>typos in tests<commit_after>describe "UploadedFile", ->

  it "should be successfully created with correct file info", ->

    mocks.use 'jsonp'
    mocks.jsonp.addHandler /\/info\/$/, (url, data) ->
      original_filename: 'kitty.jpg'
      size: 100
      is_image: true
      is_public: false

    file = uploadcare.fileFrom('uploaded', '11e85a4c-30c2-430b-8fba-1c60a18bded8')

    waitsFor (-> file.state() is 'resolved'), "successfuly created", 100

    runs ->
      file.done (info) ->
        expect(info.uuid).toEqual '11e85a4c-30c2-430b-8fba-1c60a18bded8'
        expect(info.name).toEqual 'kitty.jpg'
        expect(info.size).toEqual 100
        expect(info.isImage).toEqual true
        expect(info.isStored).toEqual false


{'fraction_non_alphanumeric': 0.13568521031207598, 'fraction_numerical': 0.06105834464043419, 'mean_word_length': 2.831168831168831, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '5929352', 'n_tokens_mistral': 575, 'n_tokens_neox': 527, 'n_words': 98}