📅  最后修改于: 2022-03-11 14:57:33.110000             🧑  作者: Mango
it('Add a session', function(done) {
api.post('/api/projects/' + projectId + '/sessions')
.set('X-Auth', tokenA)
.attach('files', './test/files/d.zip')
.attach('files', './test/files/m.csv')
.attach('files', './test/files/o.15o.txt')
.attach('files', './test/files/e.n')
.end(function(err, res) {
expect(res.status).to.equal(201)
done(err)
})
})