Suppress Test Logs (#6256)
* Suppress Test Logs This will reduce some of the noise in the tests logs. * replace deprecated buffer * remove deprecation warnings * fix geopoint * Fix GraphQL * postgres warnings
This commit is contained in:
@@ -18,6 +18,7 @@ if (global._babelPolyfill) {
|
||||
console.error('We should not use polyfilled tests');
|
||||
process.exit(1);
|
||||
}
|
||||
process.noDeprecation = true;
|
||||
|
||||
const cache = require('../lib/cache').default;
|
||||
const ParseServer = require('../lib/index').ParseServer;
|
||||
@@ -243,7 +244,10 @@ afterEach(function(done) {
|
||||
});
|
||||
})
|
||||
.then(() => Parse.User.logOut())
|
||||
.then(() => {}, () => {}) // swallow errors
|
||||
.then(
|
||||
() => {},
|
||||
() => {}
|
||||
) // swallow errors
|
||||
.then(() => {
|
||||
// Connection close events are not immediate on node 10+... wait a bit
|
||||
return new Promise(resolve => {
|
||||
|
||||
Reference in New Issue
Block a user