mirror of
https://github.com/pnpm/pnpm.git
synced 2026-01-06 05:58:20 -05:00
13 lines
307 B
TypeScript
13 lines
307 B
TypeScript
import path from 'path'
|
|
import { prepareEmpty } from '@pnpm/prepare'
|
|
import { getFilePath } from '../src/filePath'
|
|
|
|
test('getFilePath()', () => {
|
|
prepareEmpty()
|
|
expect(
|
|
getFilePath(process.cwd())
|
|
).toStrictEqual(
|
|
path.resolve(path.resolve('node_modules/.pnpm-workspace-state-v1.json'))
|
|
)
|
|
})
|