Skip to content

Commit 06791d3

Browse files
committed
wip
1 parent cf18b2b commit 06791d3

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

spec/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ beforeAll(async () => {
195195

196196
Parse.initialize('test', 'test', 'test');
197197
Parse.serverURL = 'http://localhost:' + port + '/1';
198-
jasmine.DEFAULT_TIMEOUT_INTERVAL = process.env.PARSE_SERVER_TEST_TIMEOUT || 10000;
199198
});
200199

201200
afterEach(function (done) {
201+
jasmine.DEFAULT_TIMEOUT_INTERVAL = process.env.PARSE_SERVER_TEST_TIMEOUT || 10000;
202202
const afterLogOut = async () => {
203203
if (Object.keys(openConnections).length > 0) {
204204
console.warn('There were open connections to the server left after the test finished');

src/ParseServerRESTController.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ function ParseServerRESTController(applicationId, router) {
5353
if (data.transaction === true) {
5454
initialPromise = config.database.createTransactionalSession();
5555
}
56-
console.log('inital promise');
5756
return initialPromise.then(() => {
5857
const promises = data.requests.map(request => {
5958
return handleRequest(request.method, request.path, request.body, options, config).then(
@@ -72,10 +71,8 @@ function ParseServerRESTController(applicationId, router) {
7271
}
7372
);
7473
});
75-
console.log('promises', promises);
7674
return Promise.all(promises)
7775
.then(result => {
78-
console.log('result', result);
7976
if (data.transaction === true) {
8077
if (result.find(resultItem => typeof resultItem.error === 'object')) {
8178
return config.database.abortTransactionalSession().then(() => {
@@ -91,7 +88,6 @@ function ParseServerRESTController(applicationId, router) {
9188
}
9289
})
9390
.catch(error => {
94-
console.log({ error });
9591
if (
9692
error &&
9793
error.find(

0 commit comments

Comments
 (0)