diff options
Diffstat (limited to 'spec/javascripts/projects/gke_cluster_dropdowns/stores/mutations_spec.js')
-rw-r--r-- | spec/javascripts/projects/gke_cluster_dropdowns/stores/mutations_spec.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/javascripts/projects/gke_cluster_dropdowns/stores/mutations_spec.js b/spec/javascripts/projects/gke_cluster_dropdowns/stores/mutations_spec.js index 167cc36fe8b..7cef492305b 100644 --- a/spec/javascripts/projects/gke_cluster_dropdowns/stores/mutations_spec.js +++ b/spec/javascripts/projects/gke_cluster_dropdowns/stores/mutations_spec.js @@ -26,6 +26,17 @@ describe('GCP Cluster Dropdown Store Mutations', () => { }); }); + describe('SET_PROJECT_BILLING_STATUS', () => { + it('should set project billing status', () => { + const state = { + projectHasBillingEnabled: null, + }; + mutations.SET_PROJECT_BILLING_STATUS(state, true); + + expect(state.projectHasBillingEnabled).toBeTruthy(); + }); + }); + describe('SET_ZONE', () => { it('should set GCP zone as selectedZone', () => { const state = { |