fix RN tests

This commit is contained in:
blagoev 2017-07-07 13:54:58 +03:00
parent 6a284c94b1
commit d5d6638975
1 changed files with 6 additions and 3 deletions

View File

@ -1,8 +1,11 @@
'use strict';
function node_require(module) {
return require(module);
let fs = require("fs");
let path = require("path");
var Realm = require('realm');
}
let fs = node_require("fs");
let path = node_require("path");
var Realm = node_require('realm');
function random(min, max) {
min = Math.ceil(min);