WithSetupError sets the test to expect an error during the setup phase of the task execution. A fixture will be created with the output of any errors.
()
| 240 | // WithSetupError sets the test to expect an error during the setup phase of the |
| 241 | // task execution. A fixture will be created with the output of any errors. |
| 242 | func WithSetupError() TestOption { |
| 243 | return &setupErrorTestOption{} |
| 244 | } |
| 245 | |
| 246 | type setupErrorTestOption struct{} |
| 247 |
no outgoing calls
no test coverage detected
searching dependent graphs…