mirror of
https://github.com/status-im/react-native.git
synced 2025-02-12 09:26:37 +00:00
24 lines
547 B
JavaScript
24 lines
547 B
JavaScript
|
const chai = require('chai');
|
||
|
const expect = chai.expect;
|
||
|
const xcode = require('xcode');
|
||
|
const getPlist = require('../../src/ios/getPlist');
|
||
|
|
||
|
const project = xcode.project('test/fixtures/project.pbxproj');
|
||
|
|
||
|
describe('ios::getPlist', () => {
|
||
|
|
||
|
beforeEach(() => {
|
||
|
project.parseSync();
|
||
|
});
|
||
|
|
||
|
it('should return null when `.plist` file missing', () => {
|
||
|
const plistPath = getPlist(project, process.cwd());
|
||
|
expect(plistPath).to.equals(null);
|
||
|
});
|
||
|
|
||
|
it.skip('should return parsed `plist`', () => {
|
||
|
// @todo mock fs here
|
||
|
});
|
||
|
|
||
|
});
|