(pattern: str)
| 1053 | |
| 1054 | async def test_should_work_with_glob() -> None: |
| 1055 | def glob_to_regex(pattern: str) -> re.Pattern: |
| 1056 | return re.compile(glob_to_regex_pattern(pattern)) |
| 1057 | |
| 1058 | assert glob_to_regex("**/*.js").match("https://localhost:8080/foo.js") |
| 1059 | assert not glob_to_regex("**/*.css").match("https://localhost:8080/foo.js") |
no test coverage detected