mirror of
https://github.com/status-im/react-native-cameraroll.git
synced 2025-01-28 02:15:11 +00:00
27 lines
617 B
JavaScript
27 lines
617 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
* @flow
|
|
*/
|
|
/* eslint-env jest */
|
|
/* global device, element, by */
|
|
|
|
describe('CameraRoll', () => {
|
|
beforeEach(async () => {
|
|
await device.launchApp({
|
|
permissions: {
|
|
photos: 'YES',
|
|
// camera: 'YES',
|
|
},
|
|
});
|
|
});
|
|
|
|
it('should load example app with no errors and show all the examples by default', async () => {
|
|
await expect(element(by.text('Big Images'))).toExist();
|
|
});
|
|
});
|