From a83b71239bba9216e51e724ffb12f3c4d931ce0e Mon Sep 17 00:00:00 2001 From: Paul Connolley Date: Tue, 17 Dec 2013 08:57:44 +0000 Subject: [PATCH] Update test so that it correctly requires the mopidy module As part of issue #609, the require statement in mopidy-test.js should have been updated as the API to require mopidy has changed from: require('mopidy').Mopidy; to: require('mopidy'); --- js/test/mopidy-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/test/mopidy-test.js b/js/test/mopidy-test.js index 0bf97f60..ee34d845 100644 --- a/js/test/mopidy-test.js +++ b/js/test/mopidy-test.js @@ -2,7 +2,7 @@ if (typeof module === "object" && typeof require === "function") { var buster = require("buster"); - var Mopidy = require("../src/mopidy").Mopidy; + var Mopidy = require("../src/mopidy"); var when = require("when"); }