parent
4a4b998634
commit
2e3de1b8f7
@ -1,2 +1,4 @@
|
|||||||
|
[](https://codefirst.iut.uca.fr/alexis.drai/AD_multiplat)
|
||||||
|
|
||||||
# AD_multiplat
|
# AD_multiplat
|
||||||
|
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import {render} from '@testing-library/react-native';
|
||||||
|
import Greeting from './Greeting';
|
||||||
|
|
||||||
|
describe('Greeting component', () => {
|
||||||
|
it('renders Hello, World! text', () => {
|
||||||
|
const {getByText} = render(<Greeting/>);
|
||||||
|
expect(getByText('Hello, World!')).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
@ -0,0 +1,6 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import {Text} from 'react-native';
|
||||||
|
|
||||||
|
export default function Greeting() {
|
||||||
|
return (<Text>Hello, World!</Text>);
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue