fix(core): update
This commit is contained in:
@ -60,11 +60,17 @@ tap.test('first test', async tools => {
|
||||
'http://localhost:2345/apiroute3'
|
||||
]);
|
||||
|
||||
const response2 = await new webrequest.WebRequest().getJson('http://localhost:2345/apiroute3');
|
||||
|
||||
console.log(response);
|
||||
console.log(response2)
|
||||
|
||||
expect(response)
|
||||
.property('hithere')
|
||||
.to.equal('hi');
|
||||
expect(response2)
|
||||
.property('hithere')
|
||||
.to.equal('hi');
|
||||
});
|
||||
|
||||
tap.test('tear down server', async () => {
|
||||
|
Reference in New Issue
Block a user