Update test description

- the test clearly tests that the createdAt doesn't change, we changed
the implementation, but didn't change the test description
This commit is contained in:
mattwr18 2019-12-04 19:56:49 +01:00
parent faefe75fe6
commit ace7818eac

View File

@ -371,7 +371,7 @@ describe('notifications', () => {
expect(readAfter).toEqual(false)
})
it('updates the `createdAt` attribute', async () => {
it('does not update the `createdAt` attribute', async () => {
await createPostAction()
await markAsReadAction()
const {