mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 22:51:30 -07:00
10 lines
242 B
TypeScript
10 lines
242 B
TypeScript
import { describe, expect, it } from 'vitest'
|
|
|
|
import { getRepoRoot } from './path'
|
|
|
|
describe('getRepoRoot()', () => {
|
|
it('should return the root of the repo', () => {
|
|
expect(getRepoRoot()).toBe(path.resolve(__dirname, '../../..'))
|
|
})
|
|
})
|