expressjs / serve-static

Serve static files
MIT License
1.38k stars 227 forks source link

Add tests for when a nonexistent root was provided #129

Closed jayk closed 2 years ago

jayk commented 4 years ago

I noticed that the code didn't actually test behavior when a bad root was provided. This adds tests that ensure if a nonexistent root path is provided, it is treated properly.