codeceptjs 3.3.5-beta.2 → 3.3.5-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/typings/index.d.ts +5 -5
package/package.json
CHANGED
package/typings/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ declare namespace CodeceptJS {
|
|
|
35
35
|
/** Where to store failure screenshots, artifacts, etc */
|
|
36
36
|
output: string;
|
|
37
37
|
/** Pattern to filter tests by name */
|
|
38
|
-
grep
|
|
38
|
+
grep?: string;
|
|
39
39
|
/**
|
|
40
40
|
* Enabled and configured helpers
|
|
41
41
|
*
|
|
@@ -117,7 +117,7 @@ declare namespace CodeceptJS {
|
|
|
117
117
|
* bootstrap: 'bootstrap.js',
|
|
118
118
|
* ```
|
|
119
119
|
*/
|
|
120
|
-
bootstrap
|
|
120
|
+
bootstrap?: () => Promise<void> | boolean | string;
|
|
121
121
|
/**
|
|
122
122
|
* Execute JS code after tests are run. https://codecept.io/bootstrap/
|
|
123
123
|
* Can be either JS module file or async function:
|
|
@@ -130,17 +130,17 @@ declare namespace CodeceptJS {
|
|
|
130
130
|
* teardown: 'teardown.js',
|
|
131
131
|
* ```
|
|
132
132
|
*/
|
|
133
|
-
teardown
|
|
133
|
+
teardown?: () => Promise<void> | boolean | string;
|
|
134
134
|
/**
|
|
135
135
|
* Execute JS code before launching tests in parallel mode.
|
|
136
136
|
* https://codecept.io/bootstrap/#bootstrapall-teardownall
|
|
137
137
|
*/
|
|
138
|
-
bootstrapAll
|
|
138
|
+
bootstrapAll?: () => Promise<void> | boolean | string;
|
|
139
139
|
/**
|
|
140
140
|
* Execute JS code after finishing tests in parallel mode.
|
|
141
141
|
* https://codecept.io/bootstrap/#bootstrapall-teardownall
|
|
142
142
|
*/
|
|
143
|
-
teardownAll
|
|
143
|
+
teardownAll?: () => Promise<void> | boolean | string;
|
|
144
144
|
/** Enable localized test commands https://codecept.io/translation/ */
|
|
145
145
|
translation?: string;
|
|
146
146
|
/**
|