mirror of
https://github.com/atom/atom.git
synced 2026-02-03 03:05:05 -05:00
s//openNodeGitRepository/openRepository.
This commit is contained in:
@@ -45,14 +45,14 @@ describe('GitRepositoryAsync', () => {
|
||||
})
|
||||
})
|
||||
|
||||
describe('.openNodeGitRepository()', () => {
|
||||
describe('.openRepository()', () => {
|
||||
it('returns a new repository instance', async () => {
|
||||
repo = openFixture('master.git')
|
||||
|
||||
const originalRepo = await repo.getRepo()
|
||||
expect(originalRepo).not.toBeNull()
|
||||
|
||||
const nodeGitRepo = repo.openNodeGitRepository()
|
||||
const nodeGitRepo = repo.openRepository()
|
||||
expect(nodeGitRepo).not.toBeNull()
|
||||
expect(originalRepo).not.toBe(nodeGitRepo)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user