We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49a0400 commit b4784f1Copy full SHA for b4784f1
features/json_config.feature
@@ -5,8 +5,8 @@ Feature: JSON config
5
And a file named "assert_args_and_exec.js" with:
6
"""
7
const assert = require("assert/strict");
8
- assert(process.argv[0].endsWith("node"));
9
- assert(process.argv[1].endsWith("assert_args_and_exec.js"));
+ assert.match(process.argv[0], /node$/);
+ assert.match(process.argv[1], /assert_args_and_exec\.js$/);
10
assert.equal(process.argv[2], "cucumber-json-formatter");
11
require("child_process").execSync(process.argv[2], { stdio: "inherit" });
12
0 commit comments