From 5a9c8b75577dcbb4e605b3240d5007c7d30d2bd8 Mon Sep 17 00:00:00 2001 From: Jake Bolam Date: Mon, 7 Jan 2019 14:42:13 +0800 Subject: [PATCH] docs: switch to all contributors org (#131) * docs: switch org * wip --- src/generate/__tests__/format-contributor.js | 4 ++-- src/repo/__tests__/github.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/generate/__tests__/format-contributor.js b/src/generate/__tests__/format-contributor.js index 1c12d90..187b1ec 100644 --- a/src/generate/__tests__/format-contributor.js +++ b/src/generate/__tests__/format-contributor.js @@ -30,7 +30,7 @@ test('format contributor with complex contribution types', () => { const {options} = fixtures() const expected = - '[
Kent C. Dodds](http://kentcdodds.com)
[📖](https://github.com/jfmengels/all-contributors-cli/commits?author=kentcdodds "Documentation") [👀](#review-kentcdodds "Reviewed Pull Requests") [💬](#question-kentcdodds "Answering Questions")' + '[
Kent C. Dodds](http://kentcdodds.com)
[📖](https://github.com/all-contributors/all-contributors-cli/commits?author=kentcdodds "Documentation") [👀](#review-kentcdodds "Reviewed Pull Requests") [💬](#question-kentcdodds "Answering Questions")' expect(formatContributor(options, contributor)).toBe(expected) }) @@ -63,7 +63,7 @@ test('format contributor with pipes in their name', () => { const {options} = fixtures() const expected = - '[
Who | Needs | Pipes?](http://github.com/chrisinajar)
[📖](https://github.com/jfmengels/all-contributors-cli/commits?author=pipey "Documentation")' + '[
Who | Needs | Pipes?](http://github.com/chrisinajar)
[📖](https://github.com/all-contributors/all-contributors-cli/commits?author=pipey "Documentation")' expect(formatContributor(options, contributor)).toBe(expected) }) diff --git a/src/repo/__tests__/github.js b/src/repo/__tests__/github.js index 839c77a..bf9c9bd 100644 --- a/src/repo/__tests__/github.js +++ b/src/repo/__tests__/github.js @@ -16,7 +16,7 @@ const check = githubAPI.getContributors beforeAll(() => { nock('https://api.github.com') .persist() - .get('/repos/jfmengels/all-contributors-cli/contributors?per_page=100') + .get('/repos/all-contributors/all-contributors-cli/contributors?per_page=100') .reply(200, allContributorsCliResponse) .get('/repos/facebook/react-native/contributors?per_page=100') .reply(200, reactNativeResponse1, {