test(commit): adds check for authorId field

This commit is contained in:
Matteo Cominetti
2020-10-13 14:57:29 +01:00
parent 485c650e1b
commit b0af28792a
+1
View File
@@ -105,6 +105,7 @@ describe( 'Commits', ( ) => {
it( 'Should get a commit by id', async ( ) => {
let cm = await getCommitById( { id: commitId1 } )
expect( cm.message ).to.equal( 'FIRST COMMIT YOOOOOO' )
expect( cm.authorId ).to.equal( user.id )
} )
it( 'Should get the commits from a branch', async ( ) => {