fix(cli): allow special characters in paths (#13282)

* fix(cli): commas in import paths

* adding more test cases
This commit is contained in:
Jonathan Jogenfors
2024-10-09 18:15:50 +02:00
committed by GitHub
parent 057510af0a
commit b7dcc97712
5 changed files with 149 additions and 26 deletions

View File

@@ -115,17 +115,7 @@ const tests: Test[] = [
'/albums/image3.jpg': true,
},
},
{
test: 'should support globbing paths',
options: {
pathsToCrawl: ['/photos*'],
},
files: {
'/photos1/image1.jpg': true,
'/photos2/image2.jpg': true,
'/images/image3.jpg': false,
},
},
{
test: 'should crawl a single path without trailing slash',
options: {