forked from theintern/intern
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
34 lines (30 loc) · 768 Bytes
/
main.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
define([
'require'
], function (require) {
return {
/**
* The arguments Intern was started with, post-processing (e.g.,
* repeated arguments are converted to arrays).
*/
args: null,
/**
* The executor for the current test run.
*/
executor: null,
/**
* AMD plugin API interface for easy loading of test interfaces.
*/
load: function (id, parentRequire, callback) {
require([ './lib/interfaces/' + id ], callback);
},
normalize: function (interfaceId) {
// The loader should not attempt to normalize values passed to the
// loader plugin as module IDs, since they are not module IDs.
return interfaceId;
},
/**
* The planned execution mode. One of 'client', 'runner', or 'custom'.
*/
mode: null
};
});