diff options
Diffstat (limited to 'spec/frontend/releases/stores/getters_spec.js')
-rw-r--r-- | spec/frontend/releases/stores/getters_spec.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/frontend/releases/stores/getters_spec.js b/spec/frontend/releases/stores/getters_spec.js deleted file mode 100644 index 01e10567cf0..00000000000 --- a/spec/frontend/releases/stores/getters_spec.js +++ /dev/null @@ -1,22 +0,0 @@ -import * as getters from '~/releases/stores/getters'; - -describe('~/releases/stores/getters.js', () => { - it.each` - graphqlReleaseData | graphqlReleasesPage | graphqlMilestoneStats | result - ${false} | ${false} | ${false} | ${false} - ${false} | ${false} | ${true} | ${false} - ${false} | ${true} | ${false} | ${false} - ${false} | ${true} | ${true} | ${false} - ${true} | ${false} | ${false} | ${false} - ${true} | ${false} | ${true} | ${false} - ${true} | ${true} | ${false} | ${false} - ${true} | ${true} | ${true} | ${true} - `( - 'returns $result with feature flag values graphqlReleaseData=$graphqlReleaseData, graphqlReleasesPage=$graphqlReleasesPage, and graphqlMilestoneStats=$graphqlMilestoneStats', - ({ result: expectedResult, ...featureFlags }) => { - const actualResult = getters.useGraphQLEndpoint({ featureFlags }); - - expect(actualResult).toBe(expectedResult); - }, - ); -}); |