Skip to content

Commit

Permalink
fix(docs): snippets are now replaced in jsdoc comments (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored and JustinBeckwith committed Nov 15, 2019
1 parent 568111f commit 8dd1324
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .jsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ module.exports = {
destination: './docs/'
},
plugins: [
'plugins/markdown'
'plugins/markdown',
'jsdoc-region-tag'
],
source: {
excludePattern: '(^|\\/|\\\\)[._]',
Expand Down
6 changes: 5 additions & 1 deletion test/test.retry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ describe('🛸 retry & exponential backoff', () => {
for (const method of config!.httpMethodsToRetry!) {
assert(expectedMethods.indexOf(method) > -1);
}
const expectedStatusCodes = [[100, 199], [429, 429], [500, 599]];
const expectedStatusCodes = [
[100, 199],
[429, 429],
[500, 599],
];
const statusCodesToRetry = config!.statusCodesToRetry!;
for (let i = 0; i < statusCodesToRetry.length; i++) {
const [min, max] = statusCodesToRetry[i];
Expand Down

0 comments on commit 8dd1324

Please sign in to comment.