Skip to content

Commit 661f5ce

Browse files
committed
Test corrected export naming. Fixes #387
1 parent 0f6ee79 commit 661f5ce

7 files changed

+291
-74
lines changed

Diff for: test/fixture/es6-import.output.json

+90-37
Large diffs are not rendered by default.

Diff for: test/fixture/es6-import.output.md

+6
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ This is an async method
9191

9292
# es6.input
9393

94+
**Parameters**
95+
96+
- `thisIsTheArgument`
97+
98+
# es6.input
99+
94100
This function returns the number one.
95101

96102
Returns **[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** numberone

Diff for: test/fixture/es6-import.output.md.json

+47
Original file line numberDiff line numberDiff line change
@@ -1433,6 +1433,53 @@
14331433
}
14341434
]
14351435
},
1436+
{
1437+
"type": "strong",
1438+
"children": [
1439+
{
1440+
"type": "text",
1441+
"value": "Parameters"
1442+
}
1443+
]
1444+
},
1445+
{
1446+
"ordered": false,
1447+
"type": "list",
1448+
"children": [
1449+
{
1450+
"type": "listItem",
1451+
"children": [
1452+
{
1453+
"type": "paragraph",
1454+
"children": [
1455+
{
1456+
"type": "inlineCode",
1457+
"value": "thisIsTheArgument"
1458+
},
1459+
{
1460+
"type": "text",
1461+
"value": " "
1462+
},
1463+
{
1464+
"type": "text",
1465+
"value": " "
1466+
}
1467+
]
1468+
}
1469+
]
1470+
}
1471+
]
1472+
},
1473+
{
1474+
"depth": 1,
1475+
"type": "heading",
1476+
"children": [
1477+
{
1478+
"type": "text",
1479+
"value": "es6.input"
1480+
}
1481+
]
1482+
},
14361483
{
14371484
"type": "paragraph",
14381485
"children": [

Diff for: test/fixture/es6.input.js

+5
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ async function foo() { }
7979

8080
export default multiply;
8181

82+
/**
83+
* @public
84+
*/
85+
export default (thisIsTheArgument) => {};
86+
8287
/**
8388
* This function returns the number one.
8489
* @returns {Number} numberone

Diff for: test/fixture/es6.output.json

+90-37
Large diffs are not rendered by default.

Diff for: test/fixture/es6.output.md

+6
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ This is an async method
8181

8282
# es6.input
8383

84+
**Parameters**
85+
86+
- `thisIsTheArgument`
87+
88+
# es6.input
89+
8490
This function returns the number one.
8591

8692
Returns **[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** numberone

Diff for: test/fixture/es6.output.md.json

+47
Original file line numberDiff line numberDiff line change
@@ -1287,6 +1287,53 @@
12871287
}
12881288
]
12891289
},
1290+
{
1291+
"type": "strong",
1292+
"children": [
1293+
{
1294+
"type": "text",
1295+
"value": "Parameters"
1296+
}
1297+
]
1298+
},
1299+
{
1300+
"ordered": false,
1301+
"type": "list",
1302+
"children": [
1303+
{
1304+
"type": "listItem",
1305+
"children": [
1306+
{
1307+
"type": "paragraph",
1308+
"children": [
1309+
{
1310+
"type": "inlineCode",
1311+
"value": "thisIsTheArgument"
1312+
},
1313+
{
1314+
"type": "text",
1315+
"value": " "
1316+
},
1317+
{
1318+
"type": "text",
1319+
"value": " "
1320+
}
1321+
]
1322+
}
1323+
]
1324+
}
1325+
]
1326+
},
1327+
{
1328+
"depth": 1,
1329+
"type": "heading",
1330+
"children": [
1331+
{
1332+
"type": "text",
1333+
"value": "es6.input"
1334+
}
1335+
]
1336+
},
12901337
{
12911338
"type": "paragraph",
12921339
"children": [

0 commit comments

Comments
 (0)