mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 09:52:04 +00:00
[Search] Worker test correction
Removed unused parameter. Made path to worker not relative.
This commit is contained in:
parent
d23f4de36a
commit
6a0bd10d5b
@ -19,19 +19,19 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,describe,it,expect,runs,waitsFor,beforeEach,jasmine,Worker*/
|
/*global define,describe,it,expect,runs,waitsFor,beforeEach,jasmine,Worker,require*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SearchSpec. Created by shale on 07/31/2015.
|
* SearchSpec. Created by shale on 07/31/2015.
|
||||||
*/
|
*/
|
||||||
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 () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user