Skip to content

Commit

Permalink
Revert changes to the formatted dates in the AssetComments tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yoldas committed Feb 29, 2024
1 parent a96d1a4 commit 9d132c6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ describe('AssetComments', () => {
// checking sort of comments, should be re-ordered
expect(wrapper.find('.comments-list').findAll('li').wrappers[0].text()).toContain('This is also a comment')
expect(wrapper.find('.comments-list').findAll('li').wrappers[0].text()).toContain('Jane Smythe (js2)')
expect(wrapper.find('.comments-list').findAll('li').wrappers[0].text()).toContain('30 September 2017 at 12:18')
expect(wrapper.find('.comments-list').findAll('li').wrappers[0].text()).toContain('30 September 2017, 12:18')
expect(wrapper.find('.comments-list').findAll('li').wrappers[1].text()).toContain('This is a comment')
expect(wrapper.find('.comments-list').findAll('li').wrappers[1].text()).toContain('John Smith (js1)')
expect(wrapper.find('.comments-list').findAll('li').wrappers[1].text()).toContain('31 August 2017 at 11:18')
expect(wrapper.find('.comments-list').findAll('li').wrappers[1].text()).toContain('31 August 2017, 11:18')
})

it('renders a message when there are no comments', () => {
Expand Down

0 comments on commit 9d132c6

Please sign in to comment.