Skip to content

Commit

Permalink
[Tests] parsers: add settings into debugging comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Feb 5, 2022
1 parent b5d24c5 commit 0a0a2e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/helpers/parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ const parsers = {
`features: [${Array.from(features).join(',')}]`,
`parser: ${parser}`,
testObject.parserOptions ? `parserOptions: ${JSON.stringify(testObject.parserOptions)}` : [],
testObject.options ? `options: ${JSON.stringify(testObject.options)}` : []
testObject.options ? `options: ${JSON.stringify(testObject.options)}` : [],
testObject.settings ? `settings: ${JSON.stringify(testObject.settings)}` : []
);

const extraComment = `\n// ${extras.join(', ')}`;
Expand Down

0 comments on commit 0a0a2e1

Please sign in to comment.