<commit_before>Feature: Tests against a React Native app that was initialized using the Bugsnag React Native CLI

Scenario: Build app sends JavaScript and Native handled errors
  When I wait to receive a request
  And the request is valid for the session reporting API version "1.0" for the React Native notifier
  And I discard the oldest request


  And I notify a handled JavaScript error
  And I wait to receive a request
  Then the event "unhandled" is false
  And the event "exceptions.0.errorClass" equals "ReferenceError"
  And the exception "type" equals "reactnativejs"
  And I discard the oldest request

  And I notify a handled native error
  And I wait to receive a request
  And the event "unhandled" is false
  And the event "exceptions.0.errorClass" equals the platform-dependent string:
    | android | java.lang.Exception |<commit_msg>Scenario rewording<commit_after>Feature: Tests against a React Native app that was initialized using the Bugsnag React Native CLI

Scenario: A built, CLI initialized, app sends JavaScript and Native handled errors
  When I wait to receive a request
  Then the request is valid for the session reporting API version "1.0" for the React Native notifier
  And I discard the oldest request

  And I notify a handled JavaScript error
  And I wait to receive a request
  Then the event "unhandled" is false
  And the event "exceptions.0.errorClass" equals "ReferenceError"
  And the exception "type" equals "reactnativejs"
  And I discard the oldest request

  And I notify a handled native error
  And I wait to receive a request
  Then the event "unhandled" is false
  And the event "exceptions.0.errorClass" equals the platform-dependent string:
    | android | java.lang.Exception |
{'fraction_non_alphanumeric': 0.0392156862745098, 'fraction_numerical': 0.00461361014994233, 'mean_word_length': 4.133136094674557, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1786647', 'n_tokens_mistral': 450, 'n_tokens_neox': 437, 'n_words': 250}