fix: wrong cause and removed flag in cookie change listener (#49103)

This commit is contained in:
Mr.Chaofan
2026-02-03 01:19:35 -08:00
committed by GitHub
parent 3776731f4a
commit 4413a0f642
4 changed files with 33 additions and 4 deletions

View File

@@ -214,7 +214,7 @@ describe('session module', () => {
expect(setEventCookie.name).to.equal(name);
expect(setEventCookie.value).to.equal(value);
expect(setEventCause).to.equal('explicit');
expect(setEventCause).to.equal('inserted');
expect(setEventRemoved).to.equal(false);
expect(removeEventCookie.name).to.equal(name);