Skip to content

Commit 0df376a

Browse files
committed
.
1 parent 629cad2 commit 0df376a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/tests/note.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,9 @@ describe("Note", function() {
6060

6161
return Note.create(this.repository, noteRef, sig, sig, sha, "Testing!", 1)
6262
.then((noteSha) => Note.remove(this.repository, noteRef, sig, sig, sha))
63-
.then(function() {
64-
return Note.read(test.repository, noteRef, sha).catch(function(ex) {
63+
.then(() => Note.read(test.repository, noteRef, sha).catch(function(ex) {
6564
assert.equal(ex.message, "note could not be found");
66-
});
67-
})
68-
.then(() => done())
65+
}))
6966
.catch(done);
7067
});
7168
});

0 commit comments

Comments
 (0)