mirror of
https://github.com/pnpm/pnpm.git
synced 2026-01-04 04:58:19 -05:00
11 lines
376 B
TypeScript
11 lines
376 B
TypeScript
import path from 'path'
|
|
import { getGitBranchLockfileNames } from '../lib/gitBranchLockfile'
|
|
|
|
process.chdir(__dirname)
|
|
|
|
test('getGitBranchLockfileNames()', async () => {
|
|
const lockfileDir: string = path.join('fixtures', '6')
|
|
const gitBranchLockfileNames = await getGitBranchLockfileNames(lockfileDir)
|
|
expect(gitBranchLockfileNames).toEqual(['pnpm-lock.branch.yaml'])
|
|
})
|