specific assertions
This commit is contained in:
parent
f7a4ab2cf1
commit
c1830f4b97
4 changed files with 17 additions and 17 deletions
|
|
@ -55,7 +55,7 @@ describe('The UserHighlight store', () => {
|
|||
user: 'highlight@testing',
|
||||
type: 'test',
|
||||
})
|
||||
expect(store.highlight._journal.length).to.eql(1)
|
||||
expect(store.highlight._journal).to.have.length(1)
|
||||
expect(store.highlight._journal[0]).to.eql({
|
||||
user: 'highlight@testing',
|
||||
operation: 'set',
|
||||
|
|
@ -74,7 +74,7 @@ describe('The UserHighlight store', () => {
|
|||
user: 'highlight@testing.xyz',
|
||||
type: 'test',
|
||||
})
|
||||
expect(store.highlight._journal.length).to.eql(1)
|
||||
expect(store.highlight._journal).to.have.length(1)
|
||||
expect(store.highlight._journal[0]).to.eql({
|
||||
user: 'highlight@testing.xyz',
|
||||
operation: 'set',
|
||||
|
|
@ -98,7 +98,7 @@ describe('The UserHighlight store', () => {
|
|||
user: 'a@test.xyz',
|
||||
type: 'foo',
|
||||
})
|
||||
expect(store.highlight._journal.length).to.eql(1)
|
||||
expect(store.highlight._journal).to.have.length(1)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue