<commit_before><commit_msg>snapshot tests for RouteInfo component<commit_after>import 'react-native'
import React from 'react'
import RouteInfo from '../RouteInfo'

// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer'


jest.mock('react-native-localization')

describe('RouteInfo component', () =>
{
    it('renders correctly', () =>
    {
        let tree = renderer.create(<RouteInfo title="title" vehicleType={0} vehicleLine="506" vehicleDestination="Meilahti"  vehicleMinutesLeft="5 min" />).toJSON()

        expect(tree).toMatchSnapshot()
    })
})
{'fraction_non_alphanumeric': 0.1390728476821192, 'fraction_numerical': 0.008278145695364239, 'mean_word_length': 4.87378640776699, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, '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': '2553898', 'n_tokens_mistral': 179, 'n_tokens_neox': 173, 'n_words': 42}