Skip to content

Commit 265bfcd

Browse files
committed
remove logs
1 parent 9b41c08 commit 265bfcd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

spec/helper.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,11 @@ beforeAll(async () => {
198198
Parse.serverURL = 'http://localhost:' + port + '/1';
199199
});
200200

201-
afterEach(function (done) {
201+
beforeEach(() => {
202202
jasmine.DEFAULT_TIMEOUT_INTERVAL = process.env.PARSE_SERVER_TEST_TIMEOUT || 10000;
203+
});
204+
205+
afterEach(function (done) {
203206
const afterLogOut = async () => {
204207
if (Object.keys(openConnections).length > 0) {
205208
console.warn('There were open connections to the server left after the test finished');

src/ParseServerRESTController.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ function ParseServerRESTController(applicationId, router) {
4747
}
4848

4949
if (path === '/batch') {
50-
console.log({ path });
5150
const batch = transactionRetries => {
5251
let initialPromise = Promise.resolve();
5352
if (data.transaction === true) {
@@ -95,7 +94,6 @@ function ParseServerRESTController(applicationId, router) {
9594
) &&
9695
transactionRetries > 0
9796
) {
98-
console.log(transactionRetries - 1);
9997
return batch(transactionRetries - 1);
10098
}
10199
throw error;

0 commit comments

Comments
 (0)