mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-13 02:55:56 -04:00
Co-authored-by: Zoltan Kochan <z@kochan.io> Co-authored-by: David Michon <dmichon@microsoft.com>
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'])
|
|
})
|