Skip to content

Commit

Permalink
Update components/ParameterForm.vue
Browse files Browse the repository at this point in the history
Co-authored-by: Emma Russell <[email protected]>
  • Loading branch information
david-mears-2 and EmmaLRussell committed Sep 12, 2024
1 parent dabd79c commit 7cedf89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/ParameterForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
</CButton>
</CForm>
<CAlert v-else-if="appStore.metadataFetchStatus === 'error'" color="warning">
Failed to retrieve metadata from R API. {{ appStore.metadataFetchError }}
Failed to initialise. {{ appStore.metadataFetchError }}
</CAlert>
<CSpinner v-else-if="appStore.metadataFetchStatus === 'pending'" />
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/components/ParameterForm.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ describe("parameter form", () => {
});

expect(component.findComponent({ name: "CAlert" }).exists()).toBe(true);
expect(component.text()).toContain("Failed to retrieve metadata from R API.");
expect(component.text()).toContain("Failed to initialise.");
expect(component.text()).toContain("There was a bee-related issue.");
});

Expand Down

0 comments on commit 7cedf89

Please sign in to comment.