-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.js
More file actions
30 lines (26 loc) · 744 Bytes
/
test.js
File metadata and controls
30 lines (26 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
const request = require('supertest');
const app = require('./app');
request(app)
.get('/composer/add/Instrumento Demo')
.expect('Content-Type', /text/)
//.expect('Content-Length', '22')
.expect(302)
.end(function(err, res) {
if (err) throw err;
});
request(app)
.get('/composer/add/Instrumento Demo/0000.cropped.svg')
.expect('Content-Type', /text/)
//.expect('Content-Length', '22')
.expect(302)
.end(function(err, res) {
if (err) throw err;
});
request(app)
.get('/composer/add/Instrumento Demo/0000.cropped.svg')
.expect('Content-Type', /text/)
//.expect('Content-Length', '22')
.expect(302)
.end(function(err, res) {
if (err) throw err;
});