* initial pass * reconfigureServer when needed * finish postgres tests * mongo tests * more tests * clean up * re-add skipped test * Fix transaction tests * handle batch * AuthenticationAdapter fix * More reconfiguration * clean up * properly terminate cli servers * handle Parse.Push * Flaky PushController * ensure reconfigureServer when changed * fix postgres tests * remove console.log * LiveQuery spec remove duplicates and listeners
16 lines
294 B
JavaScript
Executable File
16 lines
294 B
JavaScript
Executable File
// Sets a global variable to the current test spec
|
|
// ex: global.currentSpec.description
|
|
|
|
global.currentSpec = null;
|
|
|
|
class CurrentSpecReporter {
|
|
specStarted(spec) {
|
|
global.currentSpec = spec;
|
|
}
|
|
specDone() {
|
|
global.currentSpec = null;
|
|
}
|
|
}
|
|
|
|
module.exports = CurrentSpecReporter;
|