-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexterns.js
More file actions
60 lines (59 loc) · 1.38 KB
/
externs.js
File metadata and controls
60 lines (59 loc) · 1.38 KB
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
56
57
58
59
60
/* typal types/index.xml externs */
/** @const */
var _contextTesting = {}
/**
* The constructor class of a context.
* @typedef {function(new: _contextTesting.Context)}
*/
_contextTesting.ContextConstructor
/**
* The context made with a constructor.
* @typedef {{ _init: ((function(): !Promise|void)|undefined), _destroy: ((function(): !Promise|void)|undefined) }}
*/
_contextTesting.Context
/* typal types/test-suite.xml externs */
/**
* The test suite interface.
* @record
*/
_contextTesting.TestSuite
/**
* The name of the test suite.
* @type {string}
*/
_contextTesting.TestSuite.prototype.name
/**
* If the test suite is focused.
* @type {boolean}
*/
_contextTesting.TestSuite.prototype.isFocused
/**
* Whether the test suite has focused tests.
* @type {boolean}
*/
_contextTesting.TestSuite.prototype.hasFocused
/**
* Whether the test suite has focused tests.
* @type {!Array<!(_contextTesting.Test|_contextTesting.TestSuite)>}
*/
_contextTesting.TestSuite.prototype.tests
/**
* The test interface required for the reducer.
* @record
*/
_contextTesting.Test
/**
* The name of the test.
* @type {string}
*/
_contextTesting.Test.prototype.name
/**
* The test function to run.
* @type {function(..._contextTesting.Context): !Promise|void}
*/
_contextTesting.Test.prototype.fn
/**
* If the name of the test has `!`.
* @type {boolean}
*/
_contextTesting.Test.prototype.isFocused