more robust cookies

This commit is contained in:
Rich Harris
2018-10-01 22:47:11 -04:00
parent 9773781262
commit 709c9992e3
4 changed files with 24 additions and 27 deletions

View File

@@ -623,7 +623,7 @@ function run({ mode, basepath = '' }) {
return nightmare.goto(`${base}/credentials?creds=include`)
.page.title()
.then(title => {
assert.equal(title, 'woohoo!');
assert.equal(title, 'a: 1, b: 2, max-age: undefined');
});
});
@@ -641,7 +641,7 @@ function run({ mode, basepath = '' }) {
.wait(100)
.page.title()
.then(title => {
assert.equal(title, 'woohoo!');
assert.equal(title, 'a: 1, b: 2, max-age: undefined');
});
});