parent
df51d08814
commit
75fdc72e22
6 changed files with 48 additions and 2 deletions
|
@ -44,6 +44,11 @@ describe('Statuses.prepareStatus', () => {
|
|||
|
||||
expect(prepareStatus(nsfw).nsfw).to.eq(false)
|
||||
})
|
||||
|
||||
it('sets deleted flag to false', () => {
|
||||
const aStatus = makeMockStatus({id: 1, text: 'Hello oniichan'})
|
||||
expect(prepareStatus(aStatus).deleted).to.eq(false)
|
||||
})
|
||||
})
|
||||
|
||||
describe('Statuses.findMaxId', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue