From cd33f01ea8dc21ed3db67f12c31dc572fc77886a Mon Sep 17 00:00:00 2001 From: David Huggins-Daines Date: Tue, 8 Oct 2024 13:54:03 -0400 Subject: [PATCH] fix(test): expect only a SyntaxError nothing else --- test/node-unit/cli/options.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/node-unit/cli/options.spec.js b/test/node-unit/cli/options.spec.js index 0ee516fc48..7c846a37ed 100644 --- a/test/node-unit/cli/options.spec.js +++ b/test/node-unit/cli/options.spec.js @@ -224,7 +224,7 @@ describe('options', function () { loadOptions(); }, 'to throw', - 'Unable to parse /some/package.json: SyntaxError: Expected double-quoted property name in JSON at position 49' + /SyntaxError/, ); }); });