Fixing code review issues: fixing linter issues in spec file.

This commit is contained in:
ali.ibrahim 2016-10-25 16:55:17 +02:00
parent bdb3f4d4cb
commit e9db926b48

View file

@ -859,11 +859,13 @@ describe('net module', function () {
})
it('should throw if given an invalid session option', function (done) {
const requestUrl = '/requestUrl'
try {
const urlRequest = net.request({
url: `${server.url}${requestUrl}`,
session: 1
})
urlRequest
} catch (exception) {
done()
}
@ -931,11 +933,13 @@ describe('net module', function () {
})
it('should throw if given an invalid partition option', function (done) {
const requestUrl = '/requestUrl'
try {
const urlRequest = net.request({
url: `${server.url}${requestUrl}`,
partition: 1
})
urlRequest
} catch (exception) {
done()
}