We can resolve the path of realm here
This commit is contained in:
parent
e9b5c08700
commit
a4f48b5876
|
@ -3,4 +3,4 @@
|
|||
const mock_helper = require('./mock_realm')
|
||||
const path = require('path');
|
||||
|
||||
mock_helper(path.resolve(__dirname, '../../..'))
|
||||
mock_helper(require.resolve("realm"))
|
||||
|
|
Loading…
Reference in New Issue