This repository was archived by the owner on May 10, 2021. It is now read-only.
Commit 356046e
committed
Cypress: Test that user can modify callbackWaitsForEmptyEventLoop
Test that users can modify the Netlify Function's
callbackWaitsForEmptyEventLoop behavior via the newly exposed function
event and context objects. When callbackWaitsForEmptyEventLoop is true
(default), the function does not finish until all async processes and
timeouts are completed (or cleared). The user can set this to false to
not wait for other processes to finish.1 parent c537545 commit 356046e
File tree
2 files changed
+35
-0
lines changed- cypress
- fixtures/pages/getServerSideProps/wait-on-empty-event-loop
- integration
2 files changed
+35
-0
lines changedLines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
164 | 182 | | |
165 | 183 | | |
166 | 184 | | |
| |||
0 commit comments