From 818d5779ffa9862ac7623c3ee4d0f3afb01ef7a9 Mon Sep 17 00:00:00 2001 From: Long Ho Date: Sun, 3 Jan 2021 22:42:10 -0500 Subject: [PATCH] test(@formatjs/cli): fix tests --- .../cli/tests/extract/__snapshots__/integration.test.ts.snap | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cli/tests/extract/__snapshots__/integration.test.ts.snap b/packages/cli/tests/extract/__snapshots__/integration.test.ts.snap index 8e226c9012..f02b0db123 100644 --- a/packages/cli/tests/extract/__snapshots__/integration.test.ts.snap +++ b/packages/cli/tests/extract/__snapshots__/integration.test.ts.snap @@ -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 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)