sanityTest.spec.js
618 Bytes
/**
* 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
*/
const {device, expect, element, by} = require('detox');
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();
});
});