Skip to content

Commit 87ea342

Browse files
committed
fix: test bug
1 parent d12d2aa commit 87ea342

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contributors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ function sortReposByContributionsCount(repoContributionMappingArray){
200200
* @param {Array} contributors List of contributors details with their contributions metrics
201201
* @param {Object} options
202202
* @param {string} options.archiveFolder where to save the final content
203-
* @param {string} options.archiveFileName the name of the archive file, the content will be overwritten if it exists already
203+
* @param {string} options.archiveFileName the name of the archive file, the content will be appended if it exists already
204204
*/
205205
function writeContributorLeaderboardToFile(contributors, options={}) {
206206
if(!contributors || contributors.length<1){

test/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('index.js', function() {
1515
let contributorsHandlesString = await OCK.contributors.github.archive(contributorsFixture.VALID_REPO_OWNER);
1616
assert.isNotNull(contributorsHandlesString);
1717
expect(contributorsHandlesString).to.be.not.empty;
18-
expect(str).to.include('@');
18+
expect(contributorsHandlesString).to.include('@');
1919
// expect(str).to.include(',');
2020
})
2121
})

0 commit comments

Comments
 (0)