mirror of
https://github.com/electron/electron.git
synced 2026-01-25 23:38:18 -05:00
spec: session.defaultSession test case
This commit is contained in:
@@ -35,6 +35,12 @@ describe('session module', function () {
|
||||
w = null
|
||||
})
|
||||
|
||||
describe('session.defaultSession', function () {
|
||||
it('returns the default session', function () {
|
||||
assert.equal(session.defaultSession, session.fromPartition(''))
|
||||
})
|
||||
})
|
||||
|
||||
describe('session.cookies', function () {
|
||||
it('should get cookies', function (done) {
|
||||
var server = http.createServer(function (req, res) {
|
||||
|
||||
Reference in New Issue
Block a user