Skip to content

Commit

Permalink
Fix cookie tests (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
stoically committed Jun 19, 2019
1 parent 21be504 commit 4da5893
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/background.setcookies.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ preferencesTestSet.map(preferences => { describe(`preferences: ${JSON.stringify(
const cookie = {
domain: 'domain',
expirationDate: 123,
firstPartyDomain: 'firstPartyDomain',
httpOnly: 'true',
name: 'name',
path: '/foo/bar',
sameSite: 'sameSite',
secure: 'true',
url: 'https://example.com',
value: 'value'
Expand All @@ -30,9 +32,11 @@ preferencesTestSet.map(preferences => { describe(`preferences: ${JSON.stringify(
browser.cookies.set.should.have.been.calledWith({
domain: 'domain',
expirationDate: 123,
firstPartyDomain: 'firstPartyDomain',
httpOnly: true,
name: 'name',
path: '/foo/bar',
sameSite: 'sameSite',
secure: true,
url: 'https://example.com',
value: 'value',
Expand Down

0 comments on commit 4da5893

Please sign in to comment.