nomadical

Results comments of nomadical

Taking `prefer-global-number-constants` — draft PR in #27231.

I'd like to take `unicorn/no-incorrect-query-selector`. I don't see an open PR or claim for it. I'll port the upstream behaviour and tests, including the autofix (`querySelectorAll(...)[0]` / `.at(0)` → `querySelector(...)`,...

I'd like to pick this up. Here's what I have in mind: For an element with `role="listbox"` that isn't a ``, `toHaveValue()` would read the `role="option"` elements inside it that...

Confirmed on main. Vitest sets `server.hmr: false` for every project `(packages/vitest/src/node/plugins/config.ts)`, and Vite's client replacer does `hmrConfig = isObject(hmrConfig) ? hmrConfig : undefined` before reading `overlay`. As a result, `server.hmr.overlay`can...

I’ve prepared a [fix](https://github.com/vitest-dev/vitest/compare/main...nomadical:vitest:fix/browser-vite-error-overlay). The change is in `esm-client-injector.js`. Because this script runs before anything else in both the orchestrator and tester iframe, it registers a no-op `vite-error-overlay` custom element....

Friendly ping on this one. The [branch](https://github.com/vitest-dev/vitest/compare/main...nomadical:vitest:fix/browser-vite-error-overlay) still merges cleanly into current main. If you'd rather fix it on the Vite side (letting `server.hmr: false` also turn off the overlay),...

I want to take it. Proposed shape: make the `text` argument optional, so `toHaveTextContent()` asserts that the element has no text content, and `.not.toHaveTextContent()` asserts that it has some. `toHaveTextContent('')`...

Fair point. That reads more naturally. Going with your version: toHaveTextContent() passes when the element has text, .not.toHaveTextContent() when it's empty.

This looks like the same problem as #9006 (trace file names hitting the OS length limit). The trace part is being fixed in #11848, and #11455 covers the same issue...

Could I take this, following the design above? Unless someone on the team already plans to. One question before I start: `bench.from(name, source)` has no options argument, but a stored...