We can resolve the path of realm here

This commit is contained in:
Kræn Hansen 2017-08-11 11:59:01 +02:00
parent e9b5c08700
commit a4f48b5876
1 changed files with 1 additions and 1 deletions

View File

@ -3,4 +3,4 @@
const mock_helper = require('./mock_realm')
const path = require('path');
mock_helper(path.resolve(__dirname, '../../..'))
mock_helper(require.resolve("realm"))