Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
test: partially skip test-repl-underscore in Node-ChakraCore
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhorton committed Mar 8, 2018
1 parent 1e9ba64 commit 3ae2dfc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/parallel/test-repl-underscore.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

require('../common');
const common = require('../common');
const assert = require('assert');
const repl = require('repl');
const stream = require('stream');
Expand Down Expand Up @@ -168,6 +168,13 @@ function testError() {
`);

setImmediate(() => {
if (common.isChakraEngine) {
// skip this part of the test for ChakraCore because
// the expected output relies on filtering out internal frames
// from stack traces, which uses V8 Error APIs that ChakraCore
// does not support.
return;
}
const lines = r.output.accum.trim().split('\n');
const expectedLines = [
'undefined',
Expand Down

0 comments on commit 3ae2dfc

Please sign in to comment.