Skip to content
Browse files

fix tests

  • Loading branch information...
1 parent 8b44f16 commit 62a8d1598e2efe2eb28f07f73dc0051f7eb01d71 @3y3 3y3 committed
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) {

0 comments on commit 62a8d15

Please sign in to comment.
Something went wrong with that request. Please try again.