-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Terminology change from homework to assignments
- Loading branch information
Showing
67 changed files
with
97 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,4 +121,4 @@ dist | |
# test-runner | ||
.recent.json | ||
.disclaimer | ||
@homework* | ||
@assignment* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
1-JavaScript/Week2/homework/ex2-dogYears.js → ...vaScript/Week2/assignment/ex2-dogYears.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...aScript/Week2/homework/ex3-tellFortune.js → ...cript/Week2/assignment/ex3-tellFortune.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Script/Week2/homework/ex4-shoppingCart.js → ...ript/Week2/assignment/ex4-shoppingCart.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...pt/Week2/homework/ex5-shoppingCartPure.js → .../Week2/assignment/ex5-shoppingCartPure.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
1-JavaScript/Week2/homework/ex6-totalCost.js → ...aScript/Week2/assignment/ex6-totalCost.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...aScript/Week2/homework/ex7-mindPrivacy.js → ...cript/Week2/assignment/ex7-mindPrivacy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Homework Javascript Week 3 | ||
# Assignment Javascript Week 3 | ||
|
||
## Exercises | ||
|
||
The homework for this week can be found in the `homework` folder. | ||
The assignment for this week can be found in the `assignment` folder. | ||
|
||
> In this week we will be using a test library called [Jest](https://jestjs.io/) rather than using plain vanilla JavaScript as we did last week. | ||
> | ||
|
@@ -57,7 +57,7 @@ Your task in this assignment is to rewrite the function body so that it uses the | |
Expected output from a successful unit test: | ||
|
||
```console | ||
PASS 1-JavaScript/Week4/homework/ex1-doubleEvenNumbers.test.js | ||
PASS 1-JavaScript/Week4/assignment/ex1-doubleEvenNumbers.test.js | ||
✓ doubleEvenNumbers should take the even numbers and double them (2 ms) | ||
|
||
Test Suites: 1 passed, 1 total | ||
|
@@ -125,7 +125,7 @@ describe('computeEarnings', () => { | |
1. Use the `npm test` command on the unmodified exercise and observe that both unit tests fail. (A green check mark indicates a _passed_ test, a red cross indicates a _failed_ test.) | ||
|
||
```console | ||
FAIL 1-JavaScript/Week4/homework/ex2-mondaysWorth.test.js | ||
FAIL 1-JavaScript/Week4/assignment/ex2-mondaysWorth.test.js | ||
computeEarnings | ||
✕ should take two parameters (3 ms) | ||
✕ should compute the earnings as a formatted Euro amount (1 ms) | ||
|
@@ -160,7 +160,7 @@ describe('computeEarnings', () => { | |
3. Run `npm test` again and observe that the first test now passes while the second one still fails. | ||
|
||
```console | ||
FAIL 1-JavaScript/Week4/homework/ex2-mondaysWorth.test.js | ||
FAIL 1-JavaScript/Week4/assignment/ex2-mondaysWorth.test.js | ||
computeEarnings | ||
✓ should take two parameters (2 ms) | ||
✕ should compute the earnings as a formatted Euro amount (1 ms) | ||
|
@@ -185,7 +185,7 @@ describe('computeEarnings', () => { | |
5. Run `npm test` again and check whether the second unit test now passes. If not, fix the problem and try again. | ||
|
||
```console | ||
PASS 1-JavaScript/Week4/homework/ex2-mondaysWorth.test.js | ||
PASS 1-JavaScript/Week4/assignment/ex2-mondaysWorth.test.js | ||
computeEarnings | ||
✓ should take two parameters (1 ms) | ||
✓ should compute the earnings as a formatted Euro amount (1 ms) | ||
|
@@ -491,7 +491,7 @@ Let's run the exercise using our convenience command `npm run it`: | |
```console | ||
❯ npm run it | ||
|
||
> [email protected] it C:\Users\jimcr\dev\hackyourfuture\homework | ||
> [email protected] it C:\Users\jimcr\dev\hackyourfuture\assignments | ||
> node ./test-runner/run-it | ||
|
||
? Rerun last test (1-Javascript, Week4, ex5-wallet)? No | ||
|
2 changes: 1 addition & 1 deletion
2
...k3/homework/ex1-doubleEvenNumbers.test.js → .../assignment/ex1-doubleEvenNumbers.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...t/Week3/homework/ex2-mondaysWorth.test.js → ...Week3/assignment/ex2-mondaysWorth.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...t/Week3/homework/ex3-lemonAllergy.test.js → ...Week3/assignment/ex3-lemonAllergy.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...homework/ex4-observable/ex4-observable.js → ...signment/ex4-observable/ex4-observable.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...sers/Week1/homework/ex1-bookList/index.js → ...rs/Week1/assignment/ex1-bookList/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...wsers/Week1/homework/ex2-aboutMe/index.js → ...ers/Week1/assignment/ex2-aboutMe/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
2-Browsers/Week1/homework/ex3-hijackLogo.js → ...owsers/Week1/assignment/ex3-hijackLogo.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../Week1/homework/ex4-whatsTheTime/index.js → ...eek1/assignment/ex4-whatsTheTime/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...wsers/Week1/homework/ex5-catWalk/index.js → ...ers/Week1/assignment/ex5-catWalk/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...rs/Week1/homework/ex6-gameOfLife/index.js → .../Week1/assignment/ex6-gameOfLife/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
3-UsingAPIs/Week1/homework/ex1-johnWho.js → 3-UsingAPIs/Week1/assignment/ex1-johnWho.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/Week1/homework/ex2-checkDoubleDigits.js → ...Week1/assignment/ex2-checkDoubleDigits.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
3-UsingAPIs/Week1/homework/ex3-rollDie.js → 3-UsingAPIs/Week1/assignment/ex3-rollDie.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ngAPIs/Week1/homework/ex4-pokerDiceAll.js → ...APIs/Week1/assignment/ex4-pokerDiceAll.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...APIs/Week1/homework/ex5-pokerDiceChain.js → ...Is/Week1/assignment/ex5-pokerDiceChain.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...Week2/homework/ex1-programmerFun/index.js → ...ek2/assignment/ex1-programmerFun/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...Is/Week2/homework/ex2-pokemonApp/index.js → .../Week2/assignment/ex2-pokemonApp/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.