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'; 'use strict';
function node_require(module) {
return require(module);
let fs = require("fs"); }
let path = require("path"); let fs = node_require("fs");
var Realm = require('realm'); let path = node_require("path");
var Realm = node_require('realm');
function random(min, max) { function random(min, max) {
min = Math.ceil(min); min = Math.ceil(min);