{"size": 419, "ext": "js", "max_stars_repo_path": "SimpleIntegration/src/app.test.js", "max_stars_repo_name": "PrataapMS/react-native-ngenius", "max_stars_repo_stars_event_min_datetime": "2021-06-10T11:01:34.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-10T12:09:23.000Z", "max_issues_repo_path": "SimpleIntegration/src/app.test.js", "max_issues_repo_name": "PrataapMS/react-native-ngenius", "max_issues_repo_issues_event_min_datetime": "2020-10-10T05:20:59.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-21T12:55:55.000Z", "max_forks_repo_path": "SimpleIntegration/src/app.test.js", "max_forks_repo_name": "PrataapMS/react-native-ngenius", "max_forks_repo_forks_event_min_datetime": "2020-11-25T08:31:24.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-16T08:48:20.000Z"}
{"max_stars_count": 6, "max_issues_count": 10, "max_forks_count": 6, "avg_line_length": 24.6470588235, "max_line_length": 72, "alphanum_fraction": 0.630071599}
import React from 'react';
import { render } from '@testing-library/react-native';
import App from './app';

jest.mock('react-native-ni-sdk', () => ({
  initiateCardPayment: jest.fn(),
  initiateSamsungPay: jest.fn()
}));


describe('App test', () => {
  it('should render the app', () => {
    const { getByTestId } = render(<App />);
    expect(getByTestId('Label')).toHaveTextContent('NISdk Samsung Pay');
  });
});
