Skip to content

Commit 087b3f8

Browse files
committed
test: update assertion for schema-validated nodeOptions type error
1 parent e1538a8 commit 087b3f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-config-file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ test('non object node options', async () => {
327327
fixtures.path('rc/non-object-node-options.json'),
328328
'-p', '"Hello, World!"',
329329
]);
330-
assert.match(result.stderr, /"nodeOptions" value unexpected for/);
330+
assert.match(result.stderr, /Invalid configuration/);
331331
assert.strictEqual(result.stdout, '');
332332
assert.strictEqual(result.code, 9);
333333
});

0 commit comments

Comments
 (0)