src/awp-core.js
/**
   * Update the next trigger timestamp to a Test.
   * @param {object} test Test object to run.
   */
Update the next trigger timestamp to a Test.
@param {object} test Test object to run.
Update the next trigger timestamp to a Test . @param { object } test Test object to run .
updateNextTriggerTimestamp(test) {
    if (!test.recurring) return;
    let nowtime = Date.now();
    let frequency = (test.recurring || {}).frequency;
    let offset = FrequencyInMinutes[frequency.toUpperCase()];
    test.recurring.nextTriggerTimestamp = offset ? nowtime + offset : '';
  }
updateNextTriggerTimestamp ( test ) { if ( ! test . recurring ) return ; let nowtime = Date . now ( ) ; let frequency = ( test . recurring || { } ) . frequency ; let offset = FrequencyInMinutes [ frequency . toUpperCase ( ) ] ; test . recurring . nextTriggerTimestamp = offset ? nowtime + offset : '' ; }
Update the next trigger timestamp to a Test.
Update the next trigger timestamp to a Test .