react-native-firebase/tests-new/e2e/example.spec.js

32 lines
917 B
JavaScript
Executable File

// describe('Example', () => {
// beforeEach(async () => {
// await device.reloadReactNative();
// });
//
// it('should have welcome screen', async () => {
// await expect(element(by.id('welcome'))).toBeVisible();
// });
//
// it('should show hello screen after tap', async () => {
// await element(by.id('hello_button')).tap();
// await expect(element(by.text('Hello!!!'))).toBeVisible();
// });
//
// it('should show world screen after tap', async () => {
// await element(by.id('world_button')).tap();
// await expect(element(by.text('World!!!'))).toBeVisible();
// });
// });
describe('should work inside node', () => {
beforeEach(async () => {
await device.reloadReactNative();
});
it('should require', () => {
const firebase = bridge.module;
// const { Platform } = bridge.rnModule;
should.equal(firebase.auth.nativeModuleExists, true);
});
});