Files
pnpm/lockfile/fs/test/gitBranchLockfile.test.ts
2024-07-28 01:15:20 +02:00

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'])
})