[Search] Worker test correction

Removed unused parameter. Made path to worker
not relative.
This commit is contained in:
slhale 2015-08-05 10:15:21 -07:00
parent d23f4de36a
commit 3f2a23c93b

View File

@ -26,12 +26,12 @@
*/ */
define( define(
[], [],
function (GenericSearchWorker) { function () {
"use strict"; "use strict";
describe("The generic search worker ", function () { describe("The generic search worker ", function () {
// If this test fails, make sure this path is correct // If this test fails, make sure this path is correct
var worker = new Worker('platform/search/src/GenericSearchWorker.js'), var worker = new Worker(require.toUrl('platform/search/src/GenericSearchWorker.js')),
numObjects = 5; numObjects = 5;
beforeEach(function () { beforeEach(function () {