summaryrefslogtreecommitdiff
path: root/e2e
diff options
context:
space:
mode:
authorKirill Rogovoy <[email protected]>2021-07-19 20:06:08 +0300
committerKirill Rogovoy <[email protected]>2021-07-19 20:06:08 +0300
commitf0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 (patch)
tree575c0ff2cbb846252bd2e494c81c396846aab2f6 /e2e
parent67ad38d0a7cd319623e9f41c0c381ed5c5f6f973 (diff)
Apply Prettier
Diffstat (limited to 'e2e')
-rw-r--r--e2e/firstTest.spec.js14
-rw-r--r--e2e/init.js6
-rw-r--r--e2e/reload.js2
3 files changed, 11 insertions, 11 deletions
diff --git a/e2e/firstTest.spec.js b/e2e/firstTest.spec.js
index a407fd3..91729fb 100644
--- a/e2e/firstTest.spec.js
+++ b/e2e/firstTest.spec.js
@@ -1,19 +1,19 @@
// For more info on how to write Detox tests, see the official docs:
// https://github.com/wix/Detox/blob/master/docs/README.md
-const { reloadApp } = require("./reload")
+const { reloadApp } = require('./reload')
-describe("Example", () => {
+describe('Example', () => {
beforeEach(async () => {
await reloadApp()
})
- it("should have welcome screen", async () => {
- await expect(element(by.id("WelcomeScreen"))).toBeVisible()
+ it('should have welcome screen', async () => {
+ await expect(element(by.id('WelcomeScreen'))).toBeVisible()
})
- it("should go to next screen after tap", async () => {
- await element(by.id("next-screen-button")).tap()
- await expect(element(by.id("DemoScreen"))).toBeVisible()
+ it('should go to next screen after tap', async () => {
+ await element(by.id('next-screen-button')).tap()
+ await expect(element(by.id('DemoScreen'))).toBeVisible()
})
})
diff --git a/e2e/init.js b/e2e/init.js
index 7bb0330..071de3e 100644
--- a/e2e/init.js
+++ b/e2e/init.js
@@ -1,6 +1,6 @@
-const detox = require("detox")
-const config = require("../package.json").detox
-const adapter = require("detox/runners/jest/adapter")
+const detox = require('detox')
+const config = require('../package.json').detox
+const adapter = require('detox/runners/jest/adapter')
jest.setTimeout(120000)
jasmine.getEnv().addReporter(adapter)
diff --git a/e2e/reload.js b/e2e/reload.js
index 5aadaf6..c7da760 100644
--- a/e2e/reload.js
+++ b/e2e/reload.js
@@ -1,2 +1,2 @@
-const { reloadApp } = require("detox-expo-helpers")
+const { reloadApp } = require('detox-expo-helpers')
module.exports = { reloadApp }