21 lines
369 B
JavaScript
Executable File
21 lines
369 B
JavaScript
Executable File
const detox = require('detox');
|
|
const config = require('../package.json').detox;
|
|
|
|
global.sinon = require('sinon');
|
|
require('should-sinon');
|
|
global.should = require('should');
|
|
|
|
before(async () => {
|
|
await detox.init(config);
|
|
});
|
|
|
|
after(async () => {
|
|
await detox.cleanup();
|
|
});
|
|
|
|
Object.defineProperty(global, 'firebase', {
|
|
get() {
|
|
return bridge.module;
|
|
},
|
|
});
|