refactor: remove redundant comments and docstrings (#6527)
* refactor: remove redundant comments and docstrings * fix(signal): annotate async context manager as a generator
This commit is contained in:
1 parent
cb3ba45317
commit
a4d2430140
922 files changed
+406
-7738
No files matched your search
@@ -152,7 +152,6 @@ for (const width of [1440, 390]) {
|
||||
expect(middle.paint[index], `${selector} must not snap to the target palette`).not.toBe(after[index]);
|
||||
expect(middle.paint[index], `${selector} must leave the old palette`).not.toBe(before[index]);
|
||||
}
|
||||
// These in-flow wrappers now reveal their painted parent instead of adding a second canvas.
|
||||
expect(middle.footer).toBe("rgba(0, 0, 0, 0)");
|
||||
expect(middle.sidebarFooter).toBe("rgba(0, 0, 0, 0)");
|
||||
expect(middle.gradient).toBe(middle.paint[0]);
|
||||
@@ -216,7 +215,6 @@ for (const width of [1440, 390]) {
|
||||
await expect(toggle).toBeFocused();
|
||||
expect(await input.boundingBox()).toEqual(box);
|
||||
await page.screenshot({ path: test.info().outputPath(`crossfade-${width}-${initial}-mid.png`), animations: "allow" });
|
||||
// Keyboard input still reaches the live DOM while the native snapshots are paused.
|
||||
await page.keyboard.press("Space");
|
||||
for (let step = 0; step < 20 && !await input.evaluate(node => node === document.activeElement); step++) {
|
||||
await page.keyboard.press("Tab");
|
||||
|
||||
Reference in new issue
Block a user