diff --git a/src/language-js/parse/babel.js b/src/language-js/parse/babel.js index 2f2fa48ae24f..f33acfd9b2e6 100644 --- a/src/language-js/parse/babel.js +++ b/src/language-js/parse/babel.js @@ -26,8 +26,8 @@ const parseOptions = { errorRecovery: true, createParenthesizedExpressions: true, plugins: [ - // When adding a plugin, please add a test in `tests/js/babel-plugins`, - // To remove plugins, remove it here and run `yarn test tests/js/babel-plugins` to verify + // When adding a plugin, please add a test in `tests/format/js/babel-plugins`, + // To remove plugins, remove it here and run `yarn test tests/format/js/babel-plugins` to verify "doExpressions", "exportDefaultFrom", "functionBind", diff --git a/src/language-js/print/ternary.js b/src/language-js/print/ternary.js index 60551ddf78cf..aeb94dd1b712 100644 --- a/src/language-js/print/ternary.js +++ b/src/language-js/print/ternary.js @@ -208,7 +208,7 @@ function printTernary(path, options, print) { const parts = []; // We print a ConditionalExpression in either "JSX mode" or "normal mode". - // See tests/jsx/conditional-expression.js for more info. + // See `tests/format/jsx/conditional-expression.js` for more info. let jsxMode = false; const parent = path.getParentNode(); const isParentTest =