monocart-reporter 2.0.4 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
- [V8](#v8)
|
|
37
37
|
- [V8 to Istanbul](#v8-to-istanbul)
|
|
38
38
|
- [Istanbul vs V8](#istanbul-vs-v8)
|
|
39
|
-
- [Global Coverage Report](#global-coverage-report)
|
|
39
|
+
- [Global Coverage Report](#global-coverage-report)
|
|
40
|
+
- [Coverage Examples](#coverage-examples)
|
|
40
41
|
* [Attach Network Report](#attach-network-report)
|
|
41
42
|
* [Global State Management](#global-state-management)
|
|
42
43
|
- [Setup Global State](#setup-global-state)
|
|
@@ -792,10 +793,14 @@ const test = testBase.extend({
|
|
|
792
793
|
});
|
|
793
794
|
export { test, expect };
|
|
794
795
|
```
|
|
795
|
-
|
|
796
|
+
|
|
797
|
+
### Coverage Examples
|
|
798
|
+
- For Playwright component testing:
|
|
796
799
|
- [playwright-ct-vue](https://github.com/cenfun/playwright-ct-vue)
|
|
797
800
|
- [playwright-ct-react](https://github.com/cenfun/playwright-ct-react)
|
|
798
801
|
- [playwright-ct-svelte](https://github.com/cenfun/playwright-ct-svelte)
|
|
802
|
+
- [playwright-nextjs-coverage-example](https://github.com/michaelhays/playwright-nextjs-coverage-example)
|
|
803
|
+
- [code-coverage-with-monocart-reporter](https://github.com/edumserrano/playwright-adventures/blob/main/demos/code-coverage-with-monocart-reporter/)
|
|
799
804
|
|
|
800
805
|
## Attach Network Report
|
|
801
806
|
Attach a network report with API `attachNetworkReport(har, testInfo)`. Arguments:
|