Skip to content

Commit 791ec66

Browse files
eur00tFacebook Github Bot 6
authored andcommitted
Fix get env data method name in description
Summary:jest.getEnvData() is not available, jest.getTestEnvData() should be used instead. Closes jestjs#823 Differential Revision: D3082131 fb-gh-sync-id: fa75d67e076abb80345410a4edccee46fa58e91c shipit-source-id: fa75d67e076abb80345410a4edccee46fa58e91c
1 parent 409a762 commit 791ec66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/processArgs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function processArgs() {
8080
testEnvData: {
8181
description: _wrapDesc(
8282
'A JSON object (string) that specifies data that will be made ' +
83-
'available in the test environment (via jest.getEnvData())'
83+
'available in the test environment (via jest.getTestEnvData())'
8484
),
8585
type: 'string',
8686
},

0 commit comments

Comments
 (0)