test: fix failing tests on 4.x LTS branch (#7661)
This commit is contained in:
committed by
GitHub
parent
4ac4b7f710
commit
065facdc53
@@ -1,6 +1,11 @@
|
||||
'use strict';
|
||||
const CurrentSpecReporter = require('./support/CurrentSpecReporter.js');
|
||||
const { SpecReporter } = require('jasmine-spec-reporter');
|
||||
|
||||
// Sets up a Parse API server for testing.
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = process.env.PARSE_SERVER_TEST_TIMEOUT || 5000;
|
||||
jasmine.getEnv().addReporter(new CurrentSpecReporter());
|
||||
jasmine.getEnv().addReporter(new SpecReporter());
|
||||
|
||||
global.on_db = (db, callback, elseCallback) => {
|
||||
if (process.env.PARSE_SERVER_TEST_DB == db) {
|
||||
|
||||
Reference in New Issue
Block a user