1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | 'use strict';
|
16 |
|
17 | const index = require('../index');
|
18 |
|
19 | const chai = require('chai');
|
20 |
|
21 | chai.should();
|
22 | chai.use(require('chai-things'));
|
23 | chai.use(require('chai-as-promised'));
|
24 |
|
25 | describe('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 |