Skip to content
Snippets Groups Projects
Unverified Commit dd3c789b authored by Anton Kulyk's avatar Anton Kulyk Committed by GitHub
Browse files

Add utility to set instance settings in Jest (#27532)

* Add `mockSettings` utility

* Use `mockSettings` in sidebar tests

* Use `mockSettings` in database edit app tests

* Use `mockSettings` in update info form

* Use `mockSettings` in caching utils

* Use `mockSettings` in question cache TTL field

* Use `mockSettings` in new dashboard modal

* Use `mockSettings` in question info sidebar

* Use `mockSettings` in save question modal

* Use `mockSettings` in profile link

* Ensure settings are passed to redux in tests

* Update signature

* Fix test
parent 365f2c3b
Branches
Tags
No related merge requests found
Showing
with 110 additions and 189 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment