Skip to content

Commit

Permalink
feat(git): bumped to the beta of the project-scaffolder
Browse files Browse the repository at this point in the history
to get setting of the origin after creating a remote repo

for travi/github-scaffolder#1
  • Loading branch information
travi committed Jun 4, 2020
1 parent 3bda994 commit 0096e3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/integration/features/step_definitions/common-steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Before(async () => {
const octokitFiles = await readdir(resolve(...pathToNodeModules, 'octokit-pagination-methods/lib/'));
stubbedFs({
[`${process.env.HOME}/.netrc`]: `machine github.com\n login ${githubToken}`,
[`${process.env.HOME}/.gitconfig`]: '[github]\n\tuser = travi',
node_modules: {
'octokit-pagination-methods': {
lib: (await Promise.all(loadOctokitFiles(octokitFiles))).reduce(buildOctokitFileMap(octokitFiles), {})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ Given(/^the GitHub token is valid$/, async function () {
githubScope
.matchHeader('Authorization', `token ${githubToken}`)
.post('/user/repos')
.reply(OK);
.reply(OK, {
ssl_url: any.url(),
https_url: any.url()
});
});

0 comments on commit 0096e3a

Please sign in to comment.