Commit e6ec4523 by twb

Update app.test.js

parent b58d9594
Pipeline #88 passed with stages
in 8 seconds
...@@ -19,7 +19,7 @@ describe('#test koa app', () => { ...@@ -19,7 +19,7 @@ describe('#test koa app', () => {
let res = await request(server) let res = await request(server)
.get('/path?name=Bob') .get('/path?name=Bob')
.expect('Content-Type', /text\/html/) .expect('Content-Type', /text\/html/)
.expect(200, '<h1>Hello, !</h1>'); .expect(200, '<h1>Hello, Bob!</h1>');
}); });
}); });
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment