mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-17 07:20:23 +00:00
[detox] Add test for importing default export
This commit is contained in:
@@ -2,6 +2,7 @@ declare var beforeAll: (callback: () => void) => void;
|
||||
declare var beforeEach: (callback: () => void) => void;
|
||||
declare var afterAll: (callback: () => void) => void;
|
||||
|
||||
import defaultDetox from "detox";
|
||||
import adapter from "detox/runners/jest/adapter";
|
||||
|
||||
// Normally the Detox configuration from the project's package.json like so:
|
||||
@@ -18,7 +19,7 @@ beforeAll(async () => {
|
||||
initGlobals: false,
|
||||
launchApp: false,
|
||||
};
|
||||
await detox.init(config, initOptions);
|
||||
await defaultDetox.init(config, initOptions);
|
||||
});
|
||||
|
||||
beforeEach(async () => {
|
||||
|
||||
Reference in New Issue
Block a user