Skip to content

Commit 8b8069f

Browse files
committed
Remove code in PDF; link to PR should suffice.
1 parent 13f34af commit 8b8069f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/assignments/hw4-25.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ We will be using the [Jest](https://jestjs.io) unit testing framework for Javasc
2626

2727
Follow [these instructions](https://jestjs.io/docs/getting-started) to install the Jest framework in your calculator front end and backend applications. We have already created a test directory in calculator-backend to store your new test cases. The tests in the frontend code are in the src/ subdirectory of calculator-frontend.
2828

29-
Let's fix one configuration error in the calculator code.
29+
Let's fix one configuration error in the calculator code; this is necessary because of a bug in Jest/Axios interactions.
3030

3131
Edit calculator-frontend/package.json. Change the line starting with "test" inside of the "scripts" object to read:
3232

@@ -38,7 +38,7 @@ Edit calculator-frontend/package.json. Change the line starting with "test" insi
3838
3939
### 2. Run our test cases
4040
41-
Jest runs all files whose name ends in .test.js.
41+
Jest runs all files whose names end in .test.js.
4242
In calculator-backend/tests, there's a file called calculate.test.js. The code currently in there tests the calculate function by evaluating 2+3 and making sure the function returns 5.
4343
4444
Run the test by executing:
@@ -149,7 +149,7 @@ ensure that no two members test the same feature.
149149
150150
#### Turn in instructions
151151
152-
Copy your test code into the PDF that you turn in. Also take a screenshot that shows your new test cases passing and put this in the PDF as well.
152+
Take a screenshot that shows your new test cases passing and put this in your PDF.
153153
154154
### 6. Check in your test code.
155155

0 commit comments

Comments
 (0)