Skip to content

Commit 37897c1

Browse files
committed
fix: __test__ error
1 parent ba17d05 commit 37897c1

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

__tests__/it/integration_test.ts

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const inputs: IInputs = {
3030
},
3131
// 执行的方法
3232
command: 'deploy',
33-
args: ['-t', 's.yaml'],
33+
args: ['-t', 's.yaml','--assume-yes'],
3434
// yaml相关信息
3535
yaml: {
3636
path: path.join(__dirname, 's.yaml'),
@@ -86,8 +86,15 @@ describe('Integration Tests', () => {
8686
role: '',
8787
runtime: 'python3.9',
8888
timeout: 60,
89+
asyncInvokeConfig: undefined,
90+
concurrencyConfig: undefined,
91+
customDomain: undefined,
92+
disableOndemand: false,
93+
provisionConfig: undefined,
94+
triggers: undefined,
95+
vpcBinding: undefined,
8996
});
90-
});
97+
},60000);
9198

9299
test('deploy http function', async () => {
93100
const inputs_http = _.cloneDeep(inputs);
@@ -132,6 +139,12 @@ describe('Integration Tests', () => {
132139
triggerType: 'http',
133140
},
134141
],
142+
disableOndemand: false,
143+
vpcBinding: undefined,
144+
asyncInvokeConfig: undefined,
145+
concurrencyConfig: undefined,
146+
provisionConfig: undefined,
147+
customDomain: undefined,
135148
});
136-
});
149+
},60000);
137150
});

0 commit comments

Comments
 (0)