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: firebase/firebase-functions-test
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.2
Choose a base ref
...
head repository: firebase/firebase-functions-test
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.1.0
Choose a head ref
  • 15 commits
  • 30 files changed
  • 4 contributors

Commits on May 10, 2022

  1. Copy the full SHA
    1567f2e View commit details

Commits on May 11, 2022

  1. Update to README.md to include more samples to get started (#143)

    * Update to README.md to include more samples to get started
    TheIronDev authored May 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    305ba9d View commit details

Commits on May 12, 2022

  1. Add top-level bucket field to Mock Storage CloudEvents (#145)

    Storage CloudEvents contain a "bucket" field. The mock data should
    return this "bucket" field to accurately reflect live data.
    
    [More info here](https://github.com/firebase/firebase-functions/blob/27a49837ea7b74d9d2926e74c387f45704d57889/src/v2/providers/storage.ts#L185)
    TheIronDev authored May 12, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2784209 View commit details

Commits on May 17, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2ccf0d5 View commit details

Commits on May 18, 2022

  1. Add CI for firebase-functions-test (#147)

    * Add CI for firebase-functions-test
    
    This commit adds CI for firebase-functions-test as an additional level
    of protection.
    
    This is a duplicate of the {test.yaml from firebase-functions](https://github.com/firebase/firebase-functions/blob/master/.github/workflows/test.yaml)
    
    * Remove `npm run bin:test`; Add `npm run integrationTest`
    
    This commit does the following:
    
    * Remove `npm run bin:test` from ci
    * Add `npm run integrationTest` from ci
    
    * ran npm run format:fix
    TheIronDev authored May 18, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    702a602 View commit details
  2. Refactor MockCloudEvent generation to include partial (#146)

    * Refactor MockCloudEvent generation to include user's Partial<CloudEvent>
    
    The goal of this commit is to incorporate the user's partial into the generated CloudEvent.
    
    All the AbstractFactories for Partial Cloud Events now return Cloud Events, and they all
    may incorporate the user provided partial when creating the Mock Cloud Event.
    
    Theres a few key benefits to this:
    
    1. Type safety. The Partial Factories were not providing all the necessary fields required (as is the nature of the Partial..)
    1. Consistency with other fields. Eg: If a user updates the bucket for storage event, lets attempt to update the other fields too.
    1. Opaque fields - If we want the user provided partial to take precedence, we can easily control that. (see PubSub and EventArc factories)
    1. Easier to handle one-off behavior. Not all the events behave the same way, particularly with PubSub.
    
    Although this is a "larger" change, the end-user contract remains intact.
    
    This does fix several bugs. Output is different for PubSub, EventArc, and Storage.
    TheIronDev authored May 18, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    05054d2 View commit details
  3. Bump plist from 3.0.1 to 3.0.5 (#132)

    Bumps [plist](https://github.com/TooTallNate/node-plist) from 3.0.1 to 3.0.5.
    - [Release notes](https://github.com/TooTallNate/node-plist/releases)
    - [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
    - [Commits](https://github.com/TooTallNate/node-plist/commits)
    
    ---
    updated-dependencies:
    - dependency-name: plist
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 18, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a874ec5 View commit details
  4. Bump minimist from 1.2.5 to 1.2.6 (#129)

    Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
    - [Release notes](https://github.com/substack/minimist/releases)
    - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
    
    ---
    updated-dependencies:
    - dependency-name: minimist
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 18, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b515790 View commit details
  5. Bump path-parse from 1.0.6 to 1.0.7 (#115)

    Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
    - [Release notes](https://github.com/jbgutierrez/path-parse/releases)
    - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)
    
    ---
    updated-dependencies:
    - dependency-name: path-parse
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 18, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d642a91 View commit details
  6. Bump pathval from 1.1.0 to 1.1.1 (#127)

    Bumps [pathval](https://github.com/chaijs/pathval) from 1.1.0 to 1.1.1.
    - [Release notes](https://github.com/chaijs/pathval/releases)
    - [Changelog](https://github.com/chaijs/pathval/blob/master/CHANGELOG.md)
    - [Commits](chaijs/pathval@v1.1.0...v1.1.1)
    
    ---
    updated-dependencies:
    - dependency-name: pathval
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 18, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    be9259c View commit details
  7. Bump glob-parent from 5.1.1 to 5.1.2 (#103)

    Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
    - [Release notes](https://github.com/gulpjs/glob-parent/releases)
    - [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
    - [Commits](gulpjs/glob-parent@v5.1.1...v5.1.2)
    
    ---
    updated-dependencies:
    - dependency-name: glob-parent
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 18, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e19d61a View commit details
  8. Bump ws from 7.3.1 to 7.5.7 (#133)

    Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.5.7.
    - [Release notes](https://github.com/websockets/ws/releases)
    - [Commits](websockets/ws@7.3.1...7.5.7)
    
    ---
    updated-dependencies:
    - dependency-name: ws
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 18, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bd87b7e View commit details

Commits on May 19, 2022

  1. Write ALL the unit tests (#150)

    This commit adds unit test for all the v2 spec items.
    
    As commented, `id`, `time`, and a few others are generated at runtime.
    In those instances the assertion does the no-op `thing: thing` check.
    
    With this commit I feel comfortable moving forward with v2.1.0.
    
    Test All The Things!!
    *insert all the things meme here*
    TheIronDev authored May 19, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    50f76a9 View commit details
  2. Update CHANGELOG for v2.1.0 (#149)

    * Update CHANGELOG for v2.1.0
    TheIronDev authored May 19, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    869a86f View commit details
  3. 2.1.0

    google-oss-bot committed May 19, 2022
    Copy the full SHA
    c0c653a View commit details
Loading