Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix tests

  • Loading branch information...
commit 62a8d1598e2efe2eb28f07f73dc0051f7eb01d71 1 parent 8b44f16
@3y3 3y3 authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 test/cpu_cprofiler.js
View
7 test/cpu_cprofiler.js
@@ -95,10 +95,9 @@ describe('CPU', function() {
it('has expected structure', function() {
binding.cpu.startProfiling('P');
var profile = binding.cpu.stopProfiling();
- var mainProps = ['functionName', 'url', 'lineNumber', 'callUID', 'children'];
- var extendedProps = NODE_V_11 ?
- ['bailoutReason', 'id', 'scriptId', 'hitCount'] :
- ['totalTime', 'selfTime', 'totalSamplesCount', 'selfSamplesCount'];
+ var mainProps = ['functionName', 'url', 'lineNumber', 'callUID', 'children',
+ 'bailoutReason', 'id', 'hitCount'];
+ var extendedProps = NODE_V_11 ? ['scriptId'] : [];
var properties = mainProps.concat(extendedProps);
properties.forEach(function(prop) {
Please sign in to comment.
Something went wrong with that request. Please try again.