From a66198fe46262f3a09e6b2379a050f8ed1083aea Mon Sep 17 00:00:00 2001 From: Yavor Georgiev Date: Thu, 13 Oct 2016 16:09:14 +0200 Subject: [PATCH] make tests require the symlinked realm module --- tests/js/worker-tests-script.js | 2 +- tests/spec/unit_tests.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/js/worker-tests-script.js b/tests/js/worker-tests-script.js index 9fa29a05..64daf8e5 100644 --- a/tests/js/worker-tests-script.js +++ b/tests/js/worker-tests-script.js @@ -21,7 +21,7 @@ 'use strict'; -const Realm = require('../..'); +const Realm = require('realm'); process.on('message', (message) => { process.send(handleMessage(message)); diff --git a/tests/spec/unit_tests.js b/tests/spec/unit_tests.js index 91ecec09..d21efd8c 100644 --- a/tests/spec/unit_tests.js +++ b/tests/spec/unit_tests.js @@ -24,7 +24,7 @@ const fs = require('fs'); const path = require('path'); -const Realm = require('../..'); +const Realm = require('realm'); const RealmTests = require('../js'); // Create this method with appropriate implementation for Node testing.