Clear T-18, T-34, T-54, T-55 on master (release note, test/ lint gate, Stage A fixes)

This commit is contained in:
Boki 2026-11-27 16:24:57 -05:00
parent d9d49ebc22
commit ade0a3ef1d
10 changed files with 74 additions and 23 deletions

View file

@ -58,6 +58,7 @@ test('both copying paths reject lossy state without reading getters, even when f
new Date(),
Object.create(null),
Object.create({ x: 1 }),
// eslint-disable-next-line no-sparse-arrays
[, 1],
[undefined],
extraArrayKey,
@ -69,9 +70,9 @@ test('both copying paths reject lossy state without reading getters, even when f
cyclic,
];
for (const copy of [stateCopy, frozenStateCopy]) {
for (const value of invalid) expect(() => copy(value)).toThrow();
for (const value of invalid) {expect(() => copy(value)).toThrow();}
for (const value of [accessor, arrayAccessor, cyclic])
expect(() => copy(Object.freeze(value))).toThrow();
{expect(() => copy(Object.freeze(value))).toThrow();}
}
expect(reads).toBe(0);
});