This issue was created to track the unit tests needed for the Add From URL PR https://github.com/WordPress/gutenberg/pull/27817 The unit tests should meet the criteria below. | Different URL types | Output | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |----------------------------------------------------------------------------------------------------------------------------------------- | | 1. https://www.mp3.com/file.mp3?key1=value1&key2=value2#anchorforsomereason <br/> 2. https://www.mp3.com/file.mp3?key1=value1&key2=value2 <br/> 3. https://www.mp3.com/file.mp3 | <kbd><img src="https://user-images.githubusercontent.com/1509205/115340105-bb3f6a00-a16b-11eb-96ab-39752b4c807b.png" width="320"></kbd> | | 1. https://www.mp3.com/file?key1=value1&key2=value2#anchorforsomereason <br/> 2. https://www.mp3.com/file?key1=value1&key2=value2 <br/> 3. https://www.mp3.com/file <br/> 4. https://www.mp3.com/folder/file | <kbd><img src="https://user-images.githubusercontent.com/1509205/115340100-b975a680-a16b-11eb-86c7-fb3bbceaff3f.png" width="320"></kbd> |
This issue was created to track the unit tests needed for the Add From URL PR WordPress/gutenberg#27817
The unit tests should meet the criteria below.
2. https://www.mp3.com/file.mp3?key1=value1&key2=value2
3. https://www.mp3.com/file.mp3
2. https://www.mp3.com/file?key1=value1&key2=value2
3. https://www.mp3.com/file
4. https://www.mp3.com/folder/file