We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70c76db commit 0711412Copy full SHA for 0711412
src/content/5/fi/osa5d.md
@@ -936,14 +936,14 @@ Kaikki testeissä olevat sovelluksen urlia käyttävät komennot esim.
936
937
```js
938
await page.goto('http://localhost:5173')
939
-await page.post('http://localhost:5173/api/tests/reset')
+await request.post('http://localhost:5173/api/tests/reset')
940
```
941
942
voidaan nyt muuttaa muotoon
943
944
945
await page.goto('/')
946
-await page.post('/api/tests/reset')
+await request.post('/api/tests/reset')
947
948
949
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