Skip to content

Commit

Permalink
test(@formatjs/cli): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
longlho committed Jan 4, 2021
1 parent 24d6d1b commit 818d577
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -224,6 +224,7 @@ Options:
**NOTE**: By default we check for the fact that \`FormattedMessage\`
is imported from \`moduleSourceName\` to make sure variable alias
works. This option does not do that so it's less safe.
--additional-function-names <comma-separated-names> Additional function names to extract messages from, e.g: \`['$t']\`.
--extract-from-format-message-call Opt-in to extract from \`intl.formatMessage\` call with the same restrictions, e.g: has
to be called with object literal such as \`intl.formatMessage({ id: 'foo', defaultMessage:
'bar', description: 'baz'}) (default: true)
Expand Down

0 comments on commit 818d577

Please sign in to comment.