fix RN tests
This commit is contained in:
parent
6a284c94b1
commit
d5d6638975
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue