experimenter
experimenter copied to clipboard
Replace queryByTestId with getByTestId
Replace with screen.getByTestId(...); which throws if it is not found.
Originally posted by @brennie in https://github.com/mozilla/experimenter/pull/8961#discussion_r1228603149
┆Issue is synchronized with this Jira Task
Replace all of the queryBy..'s in the SummaryTimeline file
There is a package eslint-plugin-testing-library which lints against this and might be able to auto-fix it
I can do this, can you assign it to me?