Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide a more appropriate 'staticUrl' mock for storybook (#248)
## Summary: The mock we were using 'staticUrl' was returning invalid URLs. This is fine for @testing-library tests since we don't care about broken images there. This PR fixes the situation for storybook but using a pass-through function. Issue: None ## Test plan: - yarn storybook - look at the grapher stories, see that they all have graph paper backgrounds <img width="1375" alt="Screen Shot 2022-05-23 at 6 26 33 PM" src="https://user-images.githubusercontent.com/1044413/169914748-86106bfe-16f6-4aee-bd73-327b22d8ea7f.png"> Author: kevinbarabash Reviewers: jeremywiebe Required Reviewers: Approved By: jeremywiebe Checks: ✅ Extract i18n strings (ubuntu-latest, 16.x), ⌛ Check builds for changes in size (ubuntu-latest, 16.x), ⌛ Jest Coverage (ubuntu-latest, 16.x), ✅ Cypress Coverage (ubuntu-latest, 16.x), ✅ gerald, ⌛ Lint, Flow, and Test (ubuntu-latest, 16.x), ✅ Check for .changeset file (ubuntu-latest, 16.x) Pull Request URL: #248
- Loading branch information