Fix sandboxing(#1)

This commit is contained in:
2019-05-24 11:04:51 +05:30
parent 5e41f1ceb0
commit 41534493b7
4 changed files with 9 additions and 4 deletions

View File

@@ -18,6 +18,8 @@ describe('Page Status',()=>{
it('POST /files/ls the home page',(done)=>{
chai.request(testScript).post('/files/ls').send({'loc':'/'}).end((err,res)=>{
res.should.have.status(200)
res.body.should.have.property('loc').eql('/')
res.body.should.have.property('back').eql(null)
//TODO: MAKE SURE JSON FILE
done()
})