Replace lambdas with keyword functions in the test suite
Update tests to use imported test data
Define all needed test data (currentUsers) at the beginning of a describe block, so the user data can be called by variable in each test and doesn't need to be redefined in each test
NOTE: I also had to update the keys in the currentUser creation function (from activity to activityData and from sleep to sleepData) to be consistent and allow tests to run properly
Contributors
@ericahagle
Checklist
[x] My PR has an appropriately descriptive and concise title.
[x] My PR denotes any/all team members who contributed to it.
[x] My code follows the Turing Style Guides and best practices.
[x] I ran the code locally and verified that there are no visible errors.
[x] refactor: My PR clearly describes what code I'm refactoring and why. (if applicable)
Description
activity
toactivityData
and fromsleep
tosleepData
) to be consistent and allow tests to run properlyContributors
@ericahagle
Checklist