@@ -41,7 +41,7 @@ This module allows you to interact with your program by simulating
41
41
user interactions and external events (like HTTP responses and ports),
42
42
and making assertions about the HTML it renders and the external requests it makes.
43
43
44
- - [Guide for upgrading from elm-program-test 2.x to 3.x](https://elm-program-test.netlify.com /upgrade-3.0.0.html)
44
+ - [Guide for upgrading from elm-program-test 2.x to 3.x](https://elm-program-test.netlify.app /upgrade-3.0.0.html)
45
45
46
46
47
47
## Documentation index
@@ -63,11 +63,11 @@ For a more detailed explanation of how to get started,
63
63
see the elm-program-test guidebooks
64
64
(the best one to start with is “Testing programs with interactive views”):
65
65
66
- - [Testing programs with interactive views](https://elm-program-test.netlify.com //html.html) —
66
+ - [Testing programs with interactive views](https://elm-program-test.netlify.app //html.html) —
67
67
shows an example of test-driving adding form validation to an Elm program
68
- - [Testing programs with Cmds](https://elm-program-test.netlify.com /cmds.html) — shows testing a program
68
+ - [Testing programs with Cmds](https://elm-program-test.netlify.app /cmds.html) — shows testing a program
69
69
that uses `Http.get` and `Http.post`
70
- - [Testing programs with ports](https://elm-program-test.netlify.com /ports.html) — shows testing a program
70
+ - [Testing programs with ports](https://elm-program-test.netlify.app /ports.html) — shows testing a program
71
71
that uses ports to interface with JavaScript
72
72
73
73
@@ -483,7 +483,7 @@ withJsonStringFlags decoder (ProgramDefinition options program) =
483
483
when your app runs in production
484
484
(this enables you to use [`simulateHttpResponse`](#simulateHttpResponse), [`advanceTime`](#advanceTime), etc.).
485
485
For a detailed explanation and example of how to set up tests that use simulated effects,
486
- see the [“Testing programs with Cmds” guidebook](https://elm-program-test.netlify.com /cmds.html).
486
+ see the [“Testing programs with Cmds” guidebook](https://elm-program-test.netlify.app /cmds.html).
487
487
488
488
You only need to use this if you need to simulate [HTTP requests](#simulating-http-responses),
489
489
[outgoing ports](#expectOutgoingPortValues),
@@ -506,7 +506,7 @@ when your app runs in production
506
506
(this enables you to use [`simulateIncomingPort`](#simulateIncomingPort), etc.).
507
507
You only need to use this if you need to simulate subscriptions in your test.
508
508
For a detailed explanation and example of how to set up tests that use simulated subscriptions,
509
- see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.com /ports.html).
509
+ see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.app /ports.html).
510
510
511
511
The function you provide should be similar to your program's `subscriptions` function
512
512
but return `SimulatedSub`s instead of `Sub`s.
@@ -1732,7 +1732,7 @@ For example:
1732
1732
Json.Decode.string
1733
1733
(Expect.equal [ "975774a26612", "920facb1bac0" ])
1734
1734
1735
- For a more detailed explanation and example, see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.com /ports.html).
1735
+ For a more detailed explanation and example, see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.app /ports.html).
1736
1736
1737
1737
NOTE: You must use [`withSimulatedEffects`](#withSimulatedEffects) before you call [`start`](#start) to be able to use this function.
1738
1738
@@ -1829,7 +1829,7 @@ For example, here we are simulating the program receiving a list of strings on t
1829
1829
[ "Garden-path sentences can confuse the reader." ]
1830
1830
)
1831
1831
1832
- For a more detailed explanation and example, see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.com /ports.html).
1832
+ For a more detailed explanation and example, see the [“Testing programs with ports” guidebook](https://elm-program-test.netlify.app /ports.html).
1833
1833
1834
1834
NOTE: You must use [`withSimulatedSubscriptions`](#withSimulatedSubscriptions) before you call [`start`](#start) to be able to use this function.
1835
1835
0 commit comments