mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-28 18:47:41 +00:00
fix(web): fix baseline tests
Previously the cookies for the baseline tests were set to a fixed time which might be in the past. This change now calculates the expiration time and sets them to expire in 60s. Test-bot: skip
This commit is contained in:
parent
2e404390c0
commit
8d3a6da260
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ test.describe('Baseline tests', () => {
|
|||
value: encodeURIComponent(`${option.key}=${option.value};`),
|
||||
domain: 'localhost',
|
||||
path: '/',
|
||||
expires: 1768672167
|
||||
expires: Date.now() / 1000 + 60, // expire in 1 minute
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue