forked from ckeditor/ckeditor5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdll.js
52 lines (49 loc) · 2.29 KB
/
dll.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/**
* @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import * as clipboardBase from '@ckeditor/ckeditor5-clipboard';
import * as clipboardDLL from '../src/clipboard';
import * as coreBase from '@ckeditor/ckeditor5-core';
import * as coreDLL from '../src/core';
import * as engineBase from '@ckeditor/ckeditor5-engine';
import * as engineDLL from '../src/engine';
import * as enterBase from '@ckeditor/ckeditor5-enter';
import * as enterDLL from '../src/enter';
import * as paragraphBase from '@ckeditor/ckeditor5-paragraph';
import * as paragraphDLL from '../src/paragraph';
import * as selectallBase from '@ckeditor/ckeditor5-select-all';
import * as selectallDLL from '../src/select-all';
import * as typingBase from '@ckeditor/ckeditor5-typing';
import * as typingDLL from '../src/typing';
import * as uiBase from '@ckeditor/ckeditor5-ui';
import * as uiDLL from '../src/ui';
import * as undoBase from '@ckeditor/ckeditor5-undo';
import * as undoDLL from '../src/undo';
import * as uploadBase from '@ckeditor/ckeditor5-upload';
import * as uploadDLL from '../src/upload';
import * as utilsBase from '@ckeditor/ckeditor5-utils';
import * as utilsDLL from '../src/utils';
import * as widgetBase from '@ckeditor/ckeditor5-widget';
import * as widgetDLL from '../src/widget';
describe( 'CKEditor DLL', () => {
testEqualExports( 'clipboard', clipboardBase, clipboardDLL );
testEqualExports( 'core', coreBase, coreDLL );
testEqualExports( 'engine', engineBase, engineDLL );
testEqualExports( 'enter', enterBase, enterDLL );
testEqualExports( 'paragraph', paragraphBase, paragraphDLL );
testEqualExports( 'selectall', selectallBase, selectallDLL );
testEqualExports( 'typing', typingBase, typingDLL );
testEqualExports( 'ui', uiBase, uiDLL );
testEqualExports( 'undo', undoBase, undoDLL );
testEqualExports( 'upload', uploadBase, uploadDLL );
testEqualExports( 'utils', utilsBase, utilsDLL );
testEqualExports( 'widget', widgetBase, widgetDLL );
function testEqualExports( testedLib, base, dll ) {
it( 'should load everything from ' + testedLib, () => {
for ( const exportName of Object.keys( base ) ) {
expect( base[ exportName ], exportName ).to.equal( dll[ exportName ] );
}
} );
}
} );