diff options
Diffstat (limited to 'spec/frontend/environments/kubernetes_summary_spec.js')
-rw-r--r-- | spec/frontend/environments/kubernetes_summary_spec.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/frontend/environments/kubernetes_summary_spec.js b/spec/frontend/environments/kubernetes_summary_spec.js index fdcf32e7d01..457d1a37c1d 100644 --- a/spec/frontend/environments/kubernetes_summary_spec.js +++ b/spec/frontend/environments/kubernetes_summary_spec.js @@ -16,7 +16,11 @@ describe('~/environments/components/kubernetes_summary.vue', () => { const namespace = 'my-kubernetes-namespace'; const configuration = { basePath: mockKasTunnelUrl, - headers: { 'GitLab-Agent-Id': '1', 'Content-Type': 'application/json' }, + headers: { + 'GitLab-Agent-Id': '1', + 'Content-Type': 'application/json', + Accept: 'application/json', + }, }; const findLoadingIcon = () => wrapper.findComponent(GlLoadingIcon); |