Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

fix: increase capture limit to allow Windows tests to pass #1188

Merged
merged 2 commits into from
Dec 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions test/test-v8debugapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1123,13 +1123,12 @@ describe('v8debugapi', () => {
const bp: stackdriver.Breakpoint = {
id: 'fake-id-124',
// TODO(dominickramer): This path can be lest strict when this file has
// been
// converted to Typescript.
// been converted to Typescript.
location: {path: 'build/test/test-v8debugapi-code.js', line: 10},
expressions: ['process.env', 'hasGetter'],
} as {} as stackdriver.Breakpoint;
const oldMaxData = config.capture.maxDataSize;
config.capture.maxDataSize = 20000;
config.capture.maxDataSize = 200000;
api.set(bp, err1 => {
assert.ifError(err1);
api.wait(bp, err2 => {
Expand Down