fix: complete InvesteMoz validation and error corrections

This commit is contained in:
2026-10-29 21:47:33 +02:00
parent 63147312e2
commit daf8623441
718 changed files with 127308 additions and 20959 deletions
+4 -1
View File
@@ -146,7 +146,10 @@ await test('fetch accepts a real server confirmation', async (t) => {
await test('browser writes preserve the CSRF cookie header', async (t) => {
const previous = Object.getOwnPropertyDescriptor(globalThis, 'document');
Object.defineProperty(globalThis, 'document', { configurable: true, value: { cookie: 'other=x; XSRF-TOKEN=qa%2Ftoken' } });
Object.defineProperty(globalThis, 'document', {
configurable: true,
value: { cookie: 'other=x; XSRF-TOKEN=qa%2Ftoken' },
});
try {
t.mock.method(globalThis, 'fetch', async (_url, options) => {
assert.equal(options.headers.get('X-XSRF-TOKEN'), 'qa/token');