using Jest, DynamoDB Local, I wanna reset database for each test so it doesn't have to be in specific order. Is there any way to do that wisely?
beforeEach(() => {
resetDB()
})
it('create a data', () => {
})
it('remove the data', () => {
})
it('find the data', () => {
test should pass but it fails because the data is removed.
})