Resolves the file patterns of a specification against its root directory, taking into account any exclude pattern and the default extensions to use for directories.
Object
test