Skip to content

Commit 04e1cee

Browse files
authored
Fix comments (#11464)
1 parent 7545310 commit 04e1cee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/language-js/parse/babel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ const parseOptions = {
2626
errorRecovery: true,
2727
createParenthesizedExpressions: true,
2828
plugins: [
29-
// When adding a plugin, please add a test in `tests/js/babel-plugins`,
30-
// To remove plugins, remove it here and run `yarn test tests/js/babel-plugins` to verify
29+
// When adding a plugin, please add a test in `tests/format/js/babel-plugins`,
30+
// To remove plugins, remove it here and run `yarn test tests/format/js/babel-plugins` to verify
3131
"doExpressions",
3232
"exportDefaultFrom",
3333
"functionBind",

src/language-js/print/ternary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function printTernary(path, options, print) {
208208
const parts = [];
209209

210210
// We print a ConditionalExpression in either "JSX mode" or "normal mode".
211-
// See tests/jsx/conditional-expression.js for more info.
211+
// See `tests/format/jsx/conditional-expression.js` for more info.
212212
let jsxMode = false;
213213
const parent = path.getParentNode();
214214
const isParentTest =

0 commit comments

Comments
 (0)