mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-31 06:32:37 +00:00
process.chdir in app.js.
Everything works, no need for path.resolve. All tests pass.
This commit is contained in:
@@ -21,9 +21,7 @@ describe('Tests for static pages', ()=>{
|
||||
return app.get('/faq').expect(200);
|
||||
});
|
||||
|
||||
// FIXME: robots.txt file can't be properly loaded under testing environment,
|
||||
// most likely due to __dirname being different from what is expected
|
||||
it.skip('robots.txt works', ()=>{
|
||||
it('robots.txt works', ()=>{
|
||||
return app.get('/robots.txt').expect(200);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user