@vamship/build-utils 2.4.1 → 2.4.3
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
package/src/project.js
CHANGED
@@ -108,6 +108,7 @@ export class Project {
|
|
108
108
|
test: {
|
109
109
|
unit: null,
|
110
110
|
api: null,
|
111
|
+
int: null,
|
111
112
|
},
|
112
113
|
infra: null,
|
113
114
|
scripts: null,
|
@@ -116,6 +117,7 @@ export class Project {
|
|
116
117
|
test: {
|
117
118
|
unit: null,
|
118
119
|
api: null,
|
120
|
+
int: null,
|
119
121
|
},
|
120
122
|
infra: null,
|
121
123
|
node_modules: null,
|
@@ -16,7 +16,7 @@ export class TestTaskBuilder extends TaskBuilder {
|
|
16
16
|
* "unit" or "api".
|
17
17
|
*/
|
18
18
|
constructor(testType) {
|
19
|
-
if (['unit', 'api'].indexOf(testType) < 0) {
|
19
|
+
if (['unit', 'api', 'int'].indexOf(testType) < 0) {
|
20
20
|
throw new Error('Invalid testType (arg #1)');
|
21
21
|
}
|
22
22
|
super(`test-${testType}`, `Execute ${testType} tests`);
|