Chapter 3

Functions and scope — quiz

5 questions · ~4 min

Chapter 3 quiz

Question 1 of 5

You're refactoring a Cypress test suite. The same six lines for logging in appear in seven test files. What's the most appropriate refactor?