Skip to content

Commit d93a95f

Browse files
chore: fix the system tests (#400)
1 parent 0fedce9 commit d93a95f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

system-test/error-reporting.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,12 @@ describe('Request/Response lifecycle mocking', () => {
223223
new Configuration({key, reportMode: 'always'}, logger),
224224
logger
225225
);
226+
const fakeService = nock(
227+
'https://clouderrorreporting.googleapis.com/v1beta1/projects/' +
228+
process.env.GCLOUD_PROJECT
229+
)
230+
.persist()
231+
.post('/events:report');
226232
fakeService.query({key}).reply(200, (uri: string) => {
227233
assert(uri.indexOf('key=' + key) > -1);
228234
return {};

0 commit comments

Comments
 (0)