UNPKG

1.36 kBJavaScriptView Raw
1/*
2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
5 *
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * Unless required by applicable law or agreed to in writing, software
9 * distributed under the License is distributed on an "AS IS" BASIS,
10 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 * See the License for the specific language governing permissions and
12 * limitations under the License.
13 */
14
15'use strict';
16
17const index = require('../index');
18
19const chai = require('chai');
20
21chai.should();
22chai.use(require('chai-things'));
23chai.use(require('chai-as-promised'));
24
25describe('Module', () => {
26
27 describe('#exports', () => {
28
29 it('should export classes', () => {
30 index.APModelManager.should.not.be.null;
31 index.Compiler.should.not.be.null;
32 index.CompilerException.should.not.be.null;
33 index.LogicManager.should.not.be.null;
34 index.Logger.should.not.be.null;
35 index.ScriptManager.should.not.be.null;
36 index.TypeException.should.not.be.null;
37 index.FileLoader.should.not.be.null;
38 index.ErgoLoader.should.not.be.null;
39 index.version.should.not.be.null;
40 });
41 });
42});
\No newline at end of file