mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Prettier RN local-cli
Reviewed By: yungsters Differential Revision: D7962462 fbshipit-source-id: 0afe2092af8703895de91a6d1400315c3173aa6d
This commit is contained in:
committed by
Facebook Github Bot
parent
680fb50040
commit
aba4ec0c09
@@ -4,6 +4,7 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
* @emails oncall+javascript_foundation
|
||||
*/
|
||||
|
||||
@@ -16,7 +17,7 @@ const removeProjectFromProject = require('../../ios/removeProjectFromProject');
|
||||
const path = require('path');
|
||||
|
||||
const project = xcode.project(
|
||||
path.join(__dirname, '../../__fixtures__/project.pbxproj')
|
||||
path.join(__dirname, '../../__fixtures__/project.pbxproj'),
|
||||
);
|
||||
const filePath = '../../__fixtures__/linearGradient.pbxproj';
|
||||
|
||||
@@ -27,8 +28,9 @@ describe('ios::addFileToProject', () => {
|
||||
});
|
||||
|
||||
it('should return removed file', () => {
|
||||
expect(removeProjectFromProject(project, filePath) instanceof pbxFile)
|
||||
.toBeTruthy();
|
||||
expect(
|
||||
removeProjectFromProject(project, filePath) instanceof pbxFile,
|
||||
).toBeTruthy();
|
||||
});
|
||||
|
||||
it('should remove file from a project', () => {
|
||||
|
||||
Reference in New Issue
Block a user