@atlaspack/profiler
Advanced tools
Comparing version
{ | ||
"name": "@atlaspack/profiler", | ||
"version": "2.12.1-canary.3582+6edef3532", | ||
"version": "2.12.1-canary.3583+3054dda39", | ||
"description": "Blazing fast, zero configuration web application bundler", | ||
@@ -23,8 +23,8 @@ "license": "(MIT OR Apache-2.0)", | ||
"dependencies": { | ||
"@atlaspack/diagnostic": "2.12.1-canary.3582+6edef3532", | ||
"@atlaspack/events": "2.12.1-canary.3582+6edef3532", | ||
"@atlaspack/types-internal": "2.12.1-canary.3582+6edef3532", | ||
"@atlaspack/diagnostic": "2.12.1-canary.3583+3054dda39", | ||
"@atlaspack/events": "2.12.1-canary.3583+3054dda39", | ||
"@atlaspack/types-internal": "2.12.1-canary.3583+3054dda39", | ||
"chrome-trace-event": "^1.0.2" | ||
}, | ||
"gitHead": "6edef3532c70652f9f294c1399c1ba7318937181" | ||
"gitHead": "3054dda39b54666caba268f09cadf801b43ce3a5" | ||
} |
@@ -0,1 +1,2 @@ | ||
// @flow | ||
import {tracer, PluginTracer} from '../src/Tracer'; | ||
@@ -25,2 +26,3 @@ import sinon from 'sinon'; | ||
const measurement = tracer.createMeasurement('test'); | ||
if (!measurement) return assert.fail(); | ||
measurement.end(); | ||
@@ -41,2 +43,3 @@ sinon.assert.calledWith( | ||
}); | ||
if (!measurement) return assert.fail(); | ||
measurement.end(); | ||
@@ -56,2 +59,3 @@ sinon.assert.calledWith( | ||
const measurement = tracer.createMeasurement('test'); | ||
if (!measurement) return assert.fail(); | ||
measurement.end(); | ||
@@ -69,2 +73,3 @@ measurement.end(); | ||
const measurement = pluginTracer.createMeasurement('test', 'customCat'); | ||
if (!measurement) return assert.fail(); | ||
measurement.end(); | ||
@@ -71,0 +76,0 @@ sinon.assert.calledWith( |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
34641
0.54%860
0.58%