-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* reenable tests * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
87c02e9
commit 46b4330
Showing
4 changed files
with
9 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,17 +28,9 @@ const cwd = path.join(__dirname, '..'); | |
|
||
describe('Quickstart', () => { | ||
it('should run quickstart', async () => { | ||
// We no longer use service account credentials, so we must assert an error | ||
try { | ||
execSync( | ||
'node ./quickstart.js [email protected] https://www.googleapis.com/auth/iam', | ||
{cwd} | ||
); | ||
} catch (err) { | ||
assert.match( | ||
err, | ||
/Gaia id not found for email fake_account@long-door-651.iam.gserviceaccount.com/ | ||
); | ||
} | ||
const output = execSync( | ||
'node ./quickstart.js [email protected] https://www.googleapis.com/auth/iam' | ||
); | ||
assert(output != null); | ||
}); | ||
}); |