Fix specs.
This commit is contained in:
parent
b839ad95c5
commit
c726aa8a7f
|
@ -44,15 +44,6 @@ describe('Statuses.prepareStatus', () => {
|
||||||
|
|
||||||
expect(prepareStatus(nsfw).nsfw).to.eq(false)
|
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', () => {
|
describe('Statuses.findMaxId', () => {
|
||||||
|
|
Loading…
Reference in New Issue