File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3393,6 +3393,13 @@ describe('Testing Crashes', function() {
33933393 . get ( '/i/crashes/delete?args=' + JSON . stringify ( { crash_id : crashGroup . _id } ) + '&app_id=' + APP_ID + '&api_key=' + API_KEY_ADMIN ) ;
33943394 } ) ;
33953395 } ) ;
3396+ describe ( "Trigger deleted data clenup" , function ( ) {
3397+ it ( 'Trigger deletion job to run' , function ( done ) {
3398+ testUtils . triggerJobToRun ( "api:mutationManagerJob" , function ( ) {
3399+ setTimeout ( done , 10000 ) ;
3400+ } ) ;
3401+ } ) ;
3402+ } ) ;
33963403
33973404 describe ( 'Crash app version' , async ( ) => {
33983405 it ( 'should process crash app version as string' , async ( ) => {
Original file line number Diff line number Diff line change 1+ var exported = { } ,
2+ plugins = require ( '../../pluginManager.js' ) ;
3+
4+ ( function ( ) {
5+ plugins . register ( "/session/metrics" , function ( ob ) {
6+ var predefinedMetrics = ob . predefinedMetrics ;
7+ predefinedMetrics . push ( {
8+ db : "langs" ,
9+ metrics : [
10+ { name : "_lang" , set : "langs" , short_code : "la" }
11+ ]
12+ } ) ;
13+
14+ } ) ;
15+ } ( exported ) ) ;
16+
17+ module . exports = exported ;
You can’t perform that action at this time.
0 commit comments