Skip to content

Fixes for Sprint 1 #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Fixes for Sprint 1 #47

merged 1 commit into from
Oct 10, 2024

Conversation

illicitonion
Copy link
Member

  • Fix up typos in exercises
  • Update a bunch of week-1s to Sprint-1s
  • Use toEqual not toBe
  • Add a bit more scaffolding for exports and requires, as we currently don't reliably teach this (see also Introduce exports/require or similar somewhere between Jest and Data Groups curriculum#1062).
  • Add a few more edge cases to test for
  • Move root package.json to Sprint-3 directory, because that's the set of tests it hard-codes as modules, and rework instructions to not assume you're installing stuff in the root of the repo.
  • Change refactor exercises from implementing find to implementing includes - because find returns the index, I would consider it better implemented with a for-with-index loop than a for..of loop. includes does not share this property.

* Fix up typos in exercises
* Update a bunch of week-1s to Sprint-1s
* Use toEqual not toBe
* Add a bit more scaffolding for exports and requires, as we currently
  don't reliably teach this.
* Add a few more edge cases to test for
* Move root package.json to Sprint-3 directory, because that's the set
  of tests it hard-codes as modules, and rework instructions to not
  assume you're installing stuff in the root of the repo.
* Change refactor exercises from implementing `find` to implementing
  `includes` - because `find` returns the index, I would consider it
  better implemented with a for-with-index loop than a for..of loop.
  `includes` does not share this property.
@illicitonion illicitonion merged commit f9d44f5 into main Oct 10, 2024
@illicitonion illicitonion deleted the dwh-sprint-1-fixes branch October 10, 2024 19:14
RihannaP pushed a commit to RihannaP/Module-Data-Groups that referenced this pull request Jan 13, 2025
* Fix up typos in exercises
* Update a bunch of week-1s to Sprint-1s
* Use toEqual not toBe
* Add a bit more scaffolding for exports and requires, as we currently
  don't reliably teach this.
* Add a few more edge cases to test for
* Move root package.json to Sprint-3 directory, because that's the set
  of tests it hard-codes as modules, and rework instructions to not
  assume you're installing stuff in the root of the repo.
* Change refactor exercises from implementing `find` to implementing
  `includes` - because `find` returns the index, I would consider it
  better implemented with a for-with-index loop than a for..of loop.
  `includes` does not share this property.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants