forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build and install an iOS app (facebook#44465)
Summary: Allows us to `yarn build ios` the helloworld app. Changelog: [Internal] Differential Revision: D57067038
- Loading branch information
1 parent
02f6250
commit 2afbd3b
Showing
4 changed files
with
190 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
* @flow strict-local | ||
* @format | ||
* @oncall react_native | ||
*/ | ||
|
||
import {execSync} from 'child_process'; | ||
|
||
describe('helloworld/cli', () => { | ||
it('handles arguments piped as string', () => { | ||
expect( | ||
execSync('echo "pong=hello" | node ./cli.js ping', { | ||
cwd: '../', | ||
encoding: 'utf8', | ||
}), | ||
).toEqual('Donkey Kong!'); | ||
}); | ||
}); |
Oops, something went wrong.