UNPKG
@harboor/core
Version:
latest (1.5.0)
1.5.0
1.4.0
1.3.1
1.3.0
1.2.1
1.2.0
1.1.0
1.0.0
github.com/harboorio/core
harboorio/core
@harboor/core
/
src
/
file-finder
/
index.test.ts
8 lines
(6 loc)
•
221 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
import
{ test, expect }
from
"vitest"
;
import
{ fileFinder }
from
"./index"
;
test
(
"file finder"
,
async
() => {
const
result =
await
fileFinder
([
"tsconfig.json"
], [
"./"
]);
expect
(result).
toBeTypeOf
(
"string"
); });