mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-05 22:04:34 +03:00
Spec for openedPath.
This commit is contained in:
parent
5db3280bf0
commit
30d6353fd8
@ -55,6 +55,14 @@ describe('GitRepositoryAsync', () => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
describe('openedPath', () => {
|
||||||
|
it('is the path passed to .open', () => {
|
||||||
|
const workingDirPath = copyRepository()
|
||||||
|
repo = GitRepositoryAsync.open(workingDirPath)
|
||||||
|
expect(repo.openedPath).toBe(workingDirPath)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
describe('.getRepo()', () => {
|
describe('.getRepo()', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
const workingDirectory = copySubmoduleRepository()
|
const workingDirectory = copySubmoduleRepository()
|
||||||
|
Loading…
Reference in New Issue
Block a user