[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add e2e tests for the Auth emulator #2754

Merged
merged 8 commits into from
Oct 28, 2020
Merged

Conversation

samtstern
Copy link
Contributor
@samtstern samtstern commented Oct 28, 2020

Description

Follow up to #2727

To properly test this we need Admin SDK 9+ which means Node 10+ which means I had to do some funky business.

Scenarios Tested

The whole PR is tests

Sample Commands

N/A

@google-cla google-cla bot added the cla: yes Manual indication that this has passed CLA. label Oct 28, 2020
Copy link
Member
@yuchenshi yuchenshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding test coverage!

#!/usr/bin/env bash
set -e

if [ "$CI" = "true" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you don't care what CI is set to (just that it isn't empty), you could use -z:

if [ ! -z "$CI" ]; then

@samtstern samtstern merged commit 77a02b0 into master Oct 28, 2020
@bkendall bkendall deleted the ss-auth-emulator-e2e-tests branch August 4, 2021 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Manual indication that this has passed CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants