webpipe-js 2.0.60 → 2.0.61
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/dist/index.cjs +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1883,6 +1883,9 @@ function prettyPrint(program) {
|
|
|
1883
1883
|
const nextItem = allItems[index + 1];
|
|
1884
1884
|
const shouldAddBlankLine = () => {
|
|
1885
1885
|
if (!nextItem) return false;
|
|
1886
|
+
if (entry.type === "describe") {
|
|
1887
|
+
return false;
|
|
1888
|
+
}
|
|
1886
1889
|
if (entry.type === "comment") {
|
|
1887
1890
|
return nextItem.lineNumber - entry.lineNumber > 1;
|
|
1888
1891
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1830,6 +1830,9 @@ function prettyPrint(program) {
|
|
|
1830
1830
|
const nextItem = allItems[index + 1];
|
|
1831
1831
|
const shouldAddBlankLine = () => {
|
|
1832
1832
|
if (!nextItem) return false;
|
|
1833
|
+
if (entry.type === "describe") {
|
|
1834
|
+
return false;
|
|
1835
|
+
}
|
|
1833
1836
|
if (entry.type === "comment") {
|
|
1834
1837
|
return nextItem.lineNumber - entry.lineNumber > 1;
|
|
1835
1838
|
}
|