Skip to content

Commit

Permalink
Update list of CanaryTest class methods
Browse files Browse the repository at this point in the history
  • Loading branch information
pineapplemachine committed Mar 29, 2018
1 parent fd29d12 commit b5c66cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions docs/api-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,17 @@ Here is an exhaustive list of documented [**CanaryTest**](api-introduction.md) m
- [**attempted**](api-status-attributes.md#attempted)
- [**constructor**](api-advanced-usage.md#constructor)
- [**doReport**](api-running-tests.md#doreport)
- [**durationMilliseconds**](api-advanced-usage.md#durationmilliseconds)
- [**durationSeconds**](api-advanced-usage.md#durationseconds)
- [**endTime**](api-status-attributes.md#endtime)
- [**expandGroups**](api-advanced-usage.md#expandgroups)
- [**fail**](api-advanced-usage.md#fail)
- [**failed**](api-status-attributes.md#failed)
- [**filtered**](api-status-attributes.md#filtered)
- [**getChildren**](api-advanced-usage.md#getchildren)
- [**getDurationMilliseconds**](api-advanced-usage.md#getdurationmilliseconds)
- [**getDurationSeconds**](api-advanced-usage.md#getdurationseconds)
- [**getErrors**](api-advanced-usage.md#geterrors)
- [**getFailedChildren**](api-advanced-usage.md#getfailedchildren)
- [**getLogFunction**](api-intermediate-usage.md#getlogfunction)
- [**getName**](api-advanced-usage.md#getname)
- [**getParent**](api-advanced-usage.md#getparent)
- [**getReport**](api-running-tests.md#getreport)
Expand All @@ -60,6 +61,8 @@ Here is an exhaustive list of documented [**CanaryTest**](api-introduction.md) m
- [**logVerbose**](api-intermediate-usage.md#logverbose)
- [**noErrors**](api-advanced-usage.md#noerrors)
- [**noFailedChildren**](api-advanced-usage.md#nofailedchildren)
- [**notSilent**](api-advanced-usage.md#notsilent)
- [**notVerbose**](api-advanced-usage.md#notverbose)
- [**onBegin**](api-group-callbacks.md#onbegin)
- [**onEachBegin**](api-group-callbacks.md#oneachbegin)
- [**onEachEnd**](api-group-callbacks.md#oneachend)
Expand All @@ -71,6 +74,7 @@ Here is an exhaustive list of documented [**CanaryTest**](api-introduction.md) m
- [**resetFilter**](api-advanced-usage.md#resetfilter)
- [**run**](api-running-tests.md#run)
- [**series**](api-adding-tests.md#series)
- [**setLogFunction**](api-intermediate-usage.md#setlogfunction)
- [**shouldSkip**](api-advanced-usage.md#shouldskip)
- [**silent**](api-advanced-usage.md#silent)
- [**skipped**](api-status-attributes.md#skipped)
Expand Down
4 changes: 2 additions & 2 deletions docs/buildTestClassAttributeList.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fs.readdirSync(".").forEach(file => {
for(let line of fileContent.split("\n")){
if(line.startsWith("# ") && lower.indexOf(line[2]) >= 0){
items.push({
name: line.slice(2),
name: line.slice(2).trim(),
file: file
});
}
Expand All @@ -27,5 +27,5 @@ items.sort((a, b) => {
});

for(let item of items){
console.log(`- [${item.name}](${item.file}#${item.name.toLowerCase()})`);
console.log(`- [**${item.name}**](${item.file}#${item.name.toLowerCase()})`);
}

0 comments on commit b5c66cd

Please sign in to comment.