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

Use real Error in tests. #192

Merged
merged 1 commit into from
Aug 29, 2016
Merged

Use real Error in tests. #192

merged 1 commit into from
Aug 29, 2016

Conversation

jmdobry
Copy link
Member

@jmdobry jmdobry commented Aug 29, 2016

First of several "mini" PRs

@@ -85,7 +85,7 @@ describe('bigquery:query', function () {
});

it('should handle error', function () {
var error = Error('syncQueryError');
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be a global variable? (Or do we have to create a new one within each test?)

@ace-n
Copy link
Contributor

ace-n commented Aug 29, 2016

Can some of these be converted to one-per-file global variables?

@jmdobry
Copy link
Member Author

jmdobry commented Aug 29, 2016

How about doing something like that in a separate "Use per-file global variables in tests" PR?

@ace-n
Copy link
Contributor

ace-n commented Aug 29, 2016

Hmm - that could work, though IMHO the two are related enough to put in the same PR (since they're changing the same things).

@jmdobry
Copy link
Member Author

jmdobry commented Aug 29, 2016

I was thinking there are other variables (other than error vars) that could benefit from going global, hence a separate PR.

@jmdobry jmdobry merged commit dbaf7b5 into master Aug 29, 2016
@jmdobry jmdobry deleted the error branch August 29, 2016 20:55
grayside pushed a commit that referenced this pull request Oct 26, 2022
grayside pushed a commit that referenced this pull request Nov 3, 2022
pattishin pushed a commit that referenced this pull request Nov 9, 2022
pattishin pushed a commit that referenced this pull request Nov 9, 2022
pattishin pushed a commit that referenced this pull request Nov 9, 2022
NimJay pushed a commit that referenced this pull request Nov 11, 2022
ace-n pushed a commit that referenced this pull request Nov 11, 2022
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
ace-n pushed a commit that referenced this pull request Nov 11, 2022
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
ace-n pushed a commit that referenced this pull request Nov 14, 2022
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
ace-n pushed a commit that referenced this pull request Nov 15, 2022
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
ace-n pushed a commit that referenced this pull request Nov 15, 2022
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
ace-n pushed a commit that referenced this pull request Nov 16, 2022
ace-n pushed a commit that referenced this pull request Nov 17, 2022
ace-n pushed a commit that referenced this pull request Nov 17, 2022
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
ace-n pushed a commit that referenced this pull request Nov 17, 2022
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
ace-n pushed a commit that referenced this pull request Nov 17, 2022
ace-n pushed a commit that referenced this pull request Nov 17, 2022
ahrarmonsur pushed a commit that referenced this pull request Nov 17, 2022
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
ace-n pushed a commit that referenced this pull request Nov 17, 2022
ace-n pushed a commit that referenced this pull request Nov 17, 2022
ace-n pushed a commit that referenced this pull request Nov 17, 2022
kweinmeister pushed a commit that referenced this pull request Nov 18, 2022
ahrarmonsur pushed a commit that referenced this pull request Nov 18, 2022
🤖 I have created a release \*beep\* \*boop\* 
---
### [3.2.3](https://www.github.com/googleapis/nodejs-secret-manager/compare/v3.2.2...v3.2.3) (2020-11-25)


### Bug Fixes

* **browser:** check for fetch on window ([98aaa17](https://www.github.com/googleapis/nodejs-secret-manager/commit/98aaa17c8b9c939746c218b0da3c9d299ad640e1))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
jsimonweb pushed a commit to jsimonweb/nodejs-docs-samples that referenced this pull request Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants