mirror of
https://git.youjo.love/youjo/youjo-fe.git
synced 2024-11-20 13:59:55 +01:00
Fix specs.
This commit is contained in:
parent
b839ad95c5
commit
c726aa8a7f
1 changed files with 0 additions and 9 deletions
|
@ -44,15 +44,6 @@ describe('Statuses.prepareStatus', () => {
|
|||
|
||||
expect(prepareStatus(nsfw).nsfw).to.eq(false)
|
||||
})
|
||||
|
||||
it('sets the created_at_parsed property', () => {
|
||||
const status = makeMockStatus({id: 1})
|
||||
status.created_at = ''
|
||||
expect(status.created_at_parsed).to.eq(undefined)
|
||||
|
||||
const prepared = prepareStatus(status)
|
||||
expect(prepared.created_at_parsed).to.not.eq(undefined)
|
||||
})
|
||||
})
|
||||
|
||||
describe('Statuses.findMaxId', () => {
|
||||
|
|
Loading…
Reference in a new issue