fix(fs): mock dir handling, fix e2e tests

This commit is contained in:
Andelf
2023-03-17 10:43:42 +08:00
parent 9637c464eb
commit fdeb0775f0
4 changed files with 11 additions and 8 deletions

View File

@@ -168,7 +168,7 @@
files (mapv (fn [entry]
(assoc entry :path (path/relative-path dir (:path entry))))
files)]
{:path dir :files files})))))
{:path path :files files})))))
(defn get-files
"List all files in the directory, recursively.