Skip to content

Commit 0711412

Browse files
committed
Fix small bug in part5d Finnish material
1 parent 70c76db commit 0711412

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/5/fi/osa5d.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -936,14 +936,14 @@ Kaikki testeissä olevat sovelluksen urlia käyttävät komennot esim.
936936

937937
```js
938938
await page.goto('http://localhost:5173')
939-
await page.post('http://localhost:5173/api/tests/reset')
939+
await request.post('http://localhost:5173/api/tests/reset')
940940
```
941941

942942
voidaan nyt muuttaa muotoon
943943

944944
```js
945945
await page.goto('/')
946-
await page.post('/api/tests/reset')
946+
await request.post('/api/tests/reset')
947947
```
948948

949949
Testien tämänhetkinen koodi on [GitHubissa](https://github.com/fullstack-hy2020/notes-e2e/tree/part5-2), branchissa <i>part5-2</i>.

0 commit comments

Comments
 (0)