Skip to content

Commit 67eab82

Browse files
committed
[Testing] Begin testing MCT
Fixes nasa#1218
1 parent 4d6a0d4 commit 67eab82

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

src/MCTSpec.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*****************************************************************************
2+
* Open MCT, Copyright (c) 2014-2016, United States Government
3+
* as represented by the Administrator of the National Aeronautics and Space
4+
* Administration. All rights reserved.
5+
*
6+
* Open MCT is licensed under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
* http://www.apache.org/licenses/LICENSE-2.0.
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations
15+
* under the License.
16+
*
17+
* Open MCT includes source code licensed under additional open source
18+
* licenses. See the Open Source Licenses file (LICENSES.md) included with
19+
* this source code distribution or the Licensing information page available
20+
* at runtime from the About dialog for additional information.
21+
*****************************************************************************/
22+
23+
define([
24+
'./MCT',
25+
'./plugins/plugins'
26+
], function (MCT, plugins) {
27+
describe("MCT", function () {
28+
var openmct;
29+
30+
beforeEach(function () {
31+
openmct = new MCT();
32+
});
33+
34+
it("exposes plugins", function () {
35+
expect(openmct.plugins).toEqual(plugins);
36+
});
37+
});
38+
});

0 commit comments

Comments
 (0)