mirror of
https://github.com/nasa/openmct.git
synced 2025-01-03 20:04:09 +00:00
c55f9ff092
Add empty specs for new scripts introduced to support revision checking and Overwrite/Discard dialog, WTD-1033.
27 lines
728 B
JavaScript
27 lines
728 B
JavaScript
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
|
|
|
|
define(
|
|
["../src/ElasticPersistenceProvider"],
|
|
function (ElasticPersistenceProvider) {
|
|
"use strict";
|
|
|
|
describe("The ElasticSearch persistence provider", function () {
|
|
var mockHttp,
|
|
mockQ,
|
|
testSpace = "testSpace",
|
|
testPath = "/test/db",
|
|
capture,
|
|
provider;
|
|
|
|
function mockPromise(value) {
|
|
return (value || {}).then ? value : {
|
|
then: function (callback) {
|
|
return mockPromise(callback(value));
|
|
}
|
|
};
|
|
}
|
|
|
|
});
|
|
}
|
|
); |