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