Files
iNaturalistReactNative/e2e/jest.config.js
Johannes Klein ba0016365f Crud e2e (#696)
* Update comment

* Scaffold for e2e test

* Upload observation

* Update the observation by adding a comment

* Checking that comment appears

* Delete the observation

* Check that the comment is added succesfully

* Do not invalidate searchObservations query cache after observation deletion

* Update test IDs

* Script to check if e2e test user has observations

* Log out api response

* Increase default test timeout
2023-09-13 13:48:50 +02:00

12 lines
346 B
JavaScript

module.exports = {
maxWorkers: 1,
testTimeout: 300000,
rootDir: "..",
testMatch: ["<rootDir>/e2e/**/*.e2e.js"],
verbose: true,
reporters: ["detox/runners/jest/reporter"],
globalSetup: "detox/runners/jest/globalSetup",
globalTeardown: "detox/runners/jest/globalTeardown",
testEnvironment: "detox/runners/jest/testEnvironment"
};