-
Notifications
You must be signed in to change notification settings - Fork 12
/
bender.js
55 lines (47 loc) · 1.09 KB
/
bender.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
53
54
55
/* jshint browser: false, node: true */
'use strict';
var appBaseDir = '/apps/ckeditor/plugins/a11ychecker/',
testBaseDir = '/plugins/a11ychecker/tests/';
var config = {
applications: {
ckeditor: {
path: '.',
files: [
'ckeditor.js'
]
}
},
framework: 'yui',
plugins: [
'benderjs-yui',
'benderjs-sinon',
'benderjs-jquery',
// Tests are executed from CKE4 directory, so the path is relative.
'plugins/a11ychecker/node_modules/benderjs-amd',
'tests/_benderjs/ckeditor'
],
tests: {
'AC Tests': {
applications: [ 'ckeditor' ],
basePath: 'plugins/a11ychecker',
paths: [
'tests/**',
'!**/_*/**'
]
}
},
'amd': {
baseUrl: appBaseDir,
paths: {
mock: testBaseDir + '_helpers/mockup',
helpers: testBaseDir + '_helpers',
jquery: appBaseDir + 'libs/jquery.min',
mocking: testBaseDir + '_helpers/mocking',
'testSuite': testBaseDir + '_helpers/testSuite',
'Quail': appBaseDir + 'libs/quail/quail.jquery.min',
// Alias for Quail2.2.1.
'Quail2.2.1': appBaseDir + 'bower_components/quail/dist/quail.jquery'
}
}
};
module.exports = config;