import { expect , use } from "chai" ; import "mocha" ; import FileSystemFolder , { IFileNameFormats } from "../fileSystemFolder" ; describe ( "31-NEXCLOUD-NODE-FILE-SYSTEM-FOLDER" , function ( ) { it ( "01 get files of file system folder" , async ( ) => { const folderName = "./src" ; const fsf = new FileSystemFolder ( folderName ) ; fsf . getName ( ) ; const fileNames = await fsf . getFileNames ( ) ; expect ( fileNames ) . to . be . an ( "array" ) ; expect ( fileNames . length ) . to . be . greaterThan ( 1 ) ; } ) ; } ) ;