Adds namespace fixtures and specs for usage_quotas/utils
What does this MR do and why?
Fixes the #347011 :
-
It adds a fixture generator for
namespace_storage.query.graphql
, which is then used in.js
tests -
Adds specs for usage_quotas/utils.js > getStorageTypesFromProjectStatistics
Screenshots or screen recordings
n/a
How to set up and validate locally
Generate fixtures via rspec ee/spec/frontend/fixtures/namespace.rb
Run JS specs for usage quotas via npx jest --watch ee/spec/frontend/usage_quotas/storage/
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Kos Palchyk