fix: setup Jest with TS

This commit is contained in:
Lin, Hung-Shin authored and wancat committed 2024-01-29 12:42:50 +08:00
1 parent 557af91d4b
commit a18e0d9b68
12 files changed
+45 -9

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import File from '../src/file'
describe('File', () => {
let file
let file: File
beforeEach(() => {
file = new File({ path: '/home/user', type: 'folder', discovered: true })
})