This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {fetchData , putData} from './AwsFunctions'; | |
export default const App = () => { | |
const fetchDataFormDynamoDb = async () => { | |
await fetchData('users') | |
} | |
const addDataToDynamoDB = async () => { | |
const userData = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it('Test navigation' , () => { | |
const ui = renderConnected( | |
<> | |
<FirstPage /> | |
<Route path="/second-page">Second Page</Route> | |
</>, | |
{ initialState } | |
); | |
expect(screen.queryByText('Second Page')).toBeNull(); |
OlderNewer