You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,12 @@
2
2
3
3
A meteor package that allows you to get the statement, line, function and branch coverage of Meteor project and package.
4
4
5
-
This package uses the [istanbuljs](https://github.com/istanbuljs/istanbuljs) set of packages to generate reports. Starting from Meteor 1.8, this package does not instrument your code to get coverage as you can let babel do it using the [babel plugin istanbul](https://github.com/istanbuljs/babel-plugin-istanbul).
5
+
This package uses the [istanbuljs](https://github.com/istanbuljs/istanbuljs) set of packages to generate reports.
6
+
7
+
Starting from Meteor 1.8, this package does not instrument your code to get coverage:
8
+
* For Meteor < 3.3, you can let babel do it using the [babel plugin istanbul](https://github.com/istanbuljs/babel-plugin-istanbul).
9
+
* For Meteor = 3.3 with new Meteor bundler (SWC) disabled, [babel plugin istanbul](https://github.com/istanbuljs/babel-plugin-istanbul) is still relevant
10
+
* For Meteor >= 3.3 with new Meteor bundler (SWC) enable, use [swc-plugin-coverage-instrument](https://github.com/kwonoj/swc-plugin-coverage-instrument)
6
11
7
12
It's a debug only package, so it does not affect your production build.
0 commit comments