Files
pnpm/lockfile/fs/test/gitBranchLockfile.test.ts
2025-08-25 10:02:00 +02:00

11 lines
389 B
TypeScript

import path from 'path'
import { getGitBranchLockfileNames } from '../lib/gitBranchLockfile.js'
process.chdir(import.meta.dirname)
test('getGitBranchLockfileNames()', async () => {
const lockfileDir: string = path.join('fixtures', '6')
const gitBranchLockfileNames = await getGitBranchLockfileNames(lockfileDir)
expect(gitBranchLockfileNames).toEqual(['pnpm-lock.branch.yaml'])
})