(repository, fileName)
| 18 | var theirBranchName = "theirs"; |
| 19 | |
| 20 | var removeFileFromIndex = function(repository, fileName) { |
| 21 | return repository.refreshIndex() |
| 22 | .then(function(index) { |
| 23 | return index.removeByPath(fileName) |
| 24 | .then(function() { |
| 25 | return index.write(); |
| 26 | }) |
| 27 | .then(function() { |
| 28 | return index.writeTree(); |
| 29 | }); |
| 30 | }); |
| 31 | }; |
| 32 | |
| 33 | beforeEach(function() { |
| 34 | var test = this; |
no outgoing calls
no test coverage detected
searching dependent graphs…