cornerstonejs / cornerstoneTools

@@ -46,10 +46,16 @@
Loading
46 46
        return;
47 47
      }
48 48
49 -
      const isTooFast =
50 -
        tool.configuration && tool.configuration.ignoreFastEvents === true
51 -
          ? new Date().getTime() - timestamp < 150
52 -
          : false;
49 +
      const hasThreshold =
50 +
        tool.configuration &&
51 +
        Object(tool.configuration).hasOwnProperty(
52 +
          'measurementCreationThreshold'
53 +
        );
54 +
55 +
      const isTooFast = hasThreshold
56 +
        ? new Date().getTime() - timestamp <
57 +
          tool.configuration.measurementCreationThreshold
58 +
        : false;
53 59
54 60
      if (success && isTooFast === false) {
55 61
        const eventType = EVENTS.MEASUREMENT_COMPLETED;
Files Coverage
src 21.70%
Project Totals (287 files) 21.70%

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading