Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: semantic-release/github
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.5.5
Choose a base ref
...
head repository: semantic-release/github
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.5.6
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Oct 26, 2019

  1. Copy the full SHA
    a3032b7 View commit details

Commits on Oct 28, 2019

  1. fix: typo

    Jeff-Tian authored and gr2m committed Oct 28, 2019
    Copy the full SHA
    848d258 View commit details
Showing with 272 additions and 84 deletions.
  1. +2 −2 test/helpers/mock-github.js
  2. +270 −82 test/verify.test.js
4 changes: 2 additions & 2 deletions test/helpers/mock-github.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import nock from 'nock';

/**
* Retun a `nock` object setup to respond to a github authentication request. Other expectation and responses can be chained.
* Return a `nock` object setup to respond to a github authentication request. Other expectation and responses can be chained.
*
* @param {Object} [env={}] Environment variables.
* @param {String} [githubToken=env.GH_TOKEN || env.GITHUB_TOKEN || 'GH_TOKEN'] The github token to return in the authentication response.
@@ -21,7 +21,7 @@ export function authenticate(
}

/**
* Retun a `nock` object setup to respond to a github release upload request. Other expectation and responses can be chained.
* Return a `nock` object setup to respond to a github release upload request. Other expectation and responses can be chained.
*
* @param {Object} [env={}] Environment variables.
* @param {String} [githubToken=env.GH_TOKEN || env.GITHUB_TOKEN || 'GH_TOKEN'] The github token to return in the authentication response.
Loading