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
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
-
# vsts-coverage-styles
1
+
# Vsts coveragestyles
2
2
3
-
This package helps to convert the external css files linked in an HTML into an internal style i.e., by injecting in HTML using ```<style>``` tag in the document head.
3
+
This package helps to convert the external css files linked in an HTML into an internal style i.e., by injecting in HTML using `<style>` tag in the document head.
4
4
It follows the same order while injecting CSS back in the HTML.
5
5
6
6
It doesn't do anything else, so it is as simple and fast as it can.
7
7
8
-
install using ```npm install vsts-coverage-styles --save ```
8
+
install using `npm install vsts-coverage-styles --save `
9
9
10
10
Following is how you can consume the package from the nodejs file.
11
11
12
-
The override css allows you to fix the glitches due to VSTS stripping :after & :before selectors, images & charsets
12
+
The override css allows you to fix the glitches due to VSTS stripping pseudo selectors like :after & :before selectors, images & charsets
13
13
14
14
```
15
15
/**
@@ -42,5 +42,8 @@ vstsCoverageStyles({
42
42
postProcessFn: function(html) {
43
43
return html;
44
44
}
45
-
});```
45
+
});
46
+
```
46
47
48
+
To know about the assumptions and the optimization done for this plugin, check out the following article
49
+
[Code coverage HTML reports are missing styles in VSTS](https://davidsekar.com/aspnetcore/code-coverage-html-reports-are-missing-styles-in-vsts)
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "vsts-coverage-styles",
3
-
"version": "1.0.6",
3
+
"version": "1.0.7",
4
4
"description": "This package helps to convert the external css files in an HTML to an internal style i.e., injected using style tag in the document head.",
0 commit comments