Skip to content

Commit

Permalink
fix(test): expect only a SyntaxError nothing else
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Oct 8, 2024
1 parent 8c4103f commit cd33f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/node-unit/cli/options.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/,
);
});
});
Expand Down

0 comments on commit cd33f01

Please sign in to comment.