Skip to content

Commit c9dbad2

Browse files
committed
test: remove data capture for parsePush tests
1 parent 7ebd802 commit c9dbad2

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/proxy/processors/push-action/parsePush.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ if (!fs.existsSync(dir)) {
1515

1616
async function exec(req: any, action: Action): Promise<Action> {
1717
const step = new Step('parsePackFile');
18-
// change introduced for capturing test data and to base the test on
19-
console.log(
20-
'Stringified push data: \nreq.body:\n-----------------\n' +
21-
JSON.stringify(req.body) +
22-
'\n-----------------\naction:\n-----------------\n' +
23-
JSON.stringify(action) +
24-
'\n-----------------\n',
25-
);
26-
2718
try {
2819
if (!req.body || req.body.length === 0) {
2920
throw new Error('No body found in request');
@@ -58,7 +49,6 @@ async function exec(req: any, action: Action): Promise<Action> {
5849
} finally {
5950
action.addStep(step);
6051
}
61-
console.log('action: ', JSON.stringify(action, null, 2));
6252
return action;
6353
}
6454

0 commit comments

Comments
 (0)