0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/parallel/test-debug-args.js
Rich Trott cf2562bf60 test: refactor test-debug-args
* indexOf() -> includes()
* var -> const

PR-URL: https://github.com/nodejs/node/pull/9833
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2016-12-02 09:06:42 -06:00

8 lines
146 B
JavaScript

'use strict';
// Flags: --debug-code
require('../common');
const assert = require('assert');
assert(process.execArgv.includes('--debug-code'));