Skip to content

Commit 5cfa0b9

Browse files
John Haleytbranyen
authored andcommitted
Stop reinitializing repo for each status test
1 parent 3877c47 commit 5cfa0b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/tests/status.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ describe("Status", function() {
1414

1515
var reposPath = local("../repos/workdir/.git");
1616

17-
beforeEach(function() {
17+
before(function() {
1818
var test = this;
19-
delete test.repository;
2019
return Repository.open(reposPath)
2120
.then(function(repository) {
2221
test.repository = repository;

0 commit comments

Comments
 (0)