spec: Set mimeType for protocol's handler
This commit is contained in:
parent
a04c0ce196
commit
2893974c05
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ describe('session module', function () {
|
||||||
const partitionProtocol = session.fromPartition(partitionName).protocol
|
const partitionProtocol = session.fromPartition(partitionName).protocol
|
||||||
const protocol = session.defaultSession.protocol
|
const protocol = session.defaultSession.protocol
|
||||||
const handler = function (error, callback) {
|
const handler = function (error, callback) {
|
||||||
callback({data: 'test'})
|
callback({data: 'test', mimeType: 'text/html'})
|
||||||
}
|
}
|
||||||
|
|
||||||
beforeEach(function (done) {
|
beforeEach(function (done) {
|
||||||
|
|
Loading…
Reference in a new issue