Directory Listing If the path does not exist, Reject with an Error object which has the message property set to Invalid Path A test directory file test_dir containing a set of files is present in the project directory for testing.