File tree 1 file changed +4
-3
lines changed 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,8 @@ describe('NetworkCommand', () => {
129
129
configManager . update ( argv )
130
130
131
131
try {
132
- expect ( await networkCmd . destroy ( argv ) ) . to . be . true
132
+ const destroyResult = await networkCmd . destroy ( argv )
133
+ expect ( destroyResult ) . to . be . true
133
134
134
135
while ( ( await k8 . getPodsByLabel ( [ 'solo.hedera.com/type=network-node' ] ) ) . length > 0 ) {
135
136
networkCmd . logger . debug ( 'Pods are still running. Waiting...' )
@@ -142,8 +143,8 @@ describe('NetworkCommand', () => {
142
143
}
143
144
144
145
// check if chart is uninstalled
145
- expect ( await bootstrapResp . opts . chartManager . isChartInstalled ( namespace , constants . SOLO_DEPLOYMENT_CHART ) )
146
- . to . be . false
146
+ const chartInstalledStatus = await bootstrapResp . opts . chartManager . isChartInstalled ( namespace , constants . SOLO_DEPLOYMENT_CHART )
147
+ expect ( chartInstalledStatus ) . to . be . false
147
148
148
149
// check if pvc are deleted
149
150
await expect ( k8 . listPvcsByNamespace ( namespace ) ) . eventually . to . have . lengthOf ( 0 )
You can’t perform that action at this time.
0 commit comments