summaryrefslogtreecommitdiff
path: root/spec/frontend/ci/pipeline_new/components/refs_dropdown_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/ci/pipeline_new/components/refs_dropdown_spec.js')
-rw-r--r--spec/frontend/ci/pipeline_new/components/refs_dropdown_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/ci/pipeline_new/components/refs_dropdown_spec.js b/spec/frontend/ci/pipeline_new/components/refs_dropdown_spec.js
index 60ace483712..82dac1358c5 100644
--- a/spec/frontend/ci/pipeline_new/components/refs_dropdown_spec.js
+++ b/spec/frontend/ci/pipeline_new/components/refs_dropdown_spec.js
@@ -54,7 +54,7 @@ describe('Pipeline New Form', () => {
expect(findRefsDropdownItems()).toHaveLength(0);
});
- it('does not make requests immediately', async () => {
+ it('does not make requests immediately', () => {
expect(mock.history.get).toHaveLength(0);
});
@@ -117,14 +117,14 @@ describe('Pipeline New Form', () => {
await waitForPromises();
});
- it('requests filtered tags and branches', async () => {
+ it('requests filtered tags and branches', () => {
expect(mock.history.get).toHaveLength(2);
expect(mock.history.get[1].params).toEqual({
search: mockSearchTerm,
});
});
- it('displays dropdown with branches and tags', async () => {
+ it('displays dropdown with branches and tags', () => {
const filteredRefLength = mockFilteredRefs.Tags.length + mockFilteredRefs.Branches.length;
expect(findRefsDropdownItems()).toHaveLength(filteredRefLength);