CenFun
CenFun
You can simulate a mouse with [mouse-helper](https://github.com/cenfun/mouse-helper) ```sh npm i mouse-helper ``` Usage ```js const { chromium } = require('playwright'); const browser = await chromium.launch(); const context = await browser.newContext();...
@connor4312 I created a tool [MCR](https://github.com/cenfun/monocart-coverage-reports), which can convert native V8 coverage data into Statements, Branches and Functions (Similar to Istanbul), unlike `v8-to-istanbul`, it can analyze the AST to generate...
@edumserrano please try [email protected]
It seems that the Next.js v15 does not output the `source-map` file anymore even sets `config.devtool='source-map'`, it always reverting devtool to default `eval-source-map`, we can see it in the file...
@nphmuller Thanks for your suggestion, it's good news. Yes, [MCR](https://github.com/cenfun/monocart-coverage-reports) already supports [section sourcemap](https://github.com/cenfun/monocart-coverage-reports/pull/58). And the latest Next.js will use turbopack instead of webpack, we should migrate to turbopack if...
I tried updating the repo to support Nextjs turbopack (branch `turbopack`) https://github.com/cenfun/nextjs-with-playwright/tree/turbopack It works but not perfect. For example, file `_c4c472._.js` does not have any features for filtering. ```sh [MCR]...
here is my local output with `turbopack` branch ```sh [MCR] Next.js V8 Coverage Report ┌────────────────────────────────────┬──────────┬────────────┬──────────┬───────────┬──────────┬─────────────────┐ │ Name │ Bytes │ Statements │ Branches │ Functions │ Lines │ Uncovered Lines...
For `sub-directory`, the source file `index.js` is outside of the current working directory, so it was excluded. see https://github.com/istanbuljs/test-exclude/blob/master/index.js#L90-L92
@ericmorand You can try [mcr CLI](https://github.com/cenfun/monocart-coverage-reports?#command-line) ```js // mcr.config.js export default { name: 'My Coverage Report', reports: [ 'v8', 'console-details' ], outputDir: './coverage-reports', entryFilter: { '**/node_modules/**': false, '**/src/**': true },...
@ericmorand Both can generate coverage reports from raw v8 coverage data. `c8` uses the converter `v8-to-istanbul`, and it can only generate Istanbul reports. `mcr` uses its own converter (can analyze...