mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
### Description <!-- Describe your changes. --> Integrate react native e2e test framework with detox. https://wix.github.io/Detox/ Good build in CI: https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=946695&view=results ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Write cross-platform end-to-end tests in JavaScript. Resolve flaky e2e tests in react native ci pipelines. --------- Co-authored-by: rachguo <rachguo@rachguos-Mini.attlocal.net> Co-authored-by: rachguo <rachguo@rachguos-Mac-mini.local>
12 lines
391 B
JavaScript
12 lines
391 B
JavaScript
/** @type {import('@jest/types').Config.InitialOptions} */
|
|
module.exports = {
|
|
rootDir: '..',
|
|
testMatch: ['<rootDir>/test/**/*.test.js'],
|
|
testTimeout: 120000,
|
|
maxWorkers: 1,
|
|
globalSetup: 'detox/runners/jest/globalSetup',
|
|
globalTeardown: 'detox/runners/jest/globalTeardown',
|
|
reporters: ['jest-junit'],
|
|
testEnvironment: 'detox/runners/jest/testEnvironment',
|
|
verbose: true,
|
|
};
|