Test the main.js route
()
| 20 | |
| 21 | |
| 22 | def test_main_js_route(): |
| 23 | """Test the main.js route""" |
| 24 | response = client.get("/main.js") |
| 25 | assert response.status_code == 200 |
| 26 | assert "application/javascript" in response.headers["content-type"] |
| 27 | assert "Cache-Control" in response.headers |
| 28 | |
| 29 | |
| 30 | def test_favicon_route(): |