WithFixtureTemplating enables templating for the golden fixture files with the default set of data. This is useful if the golden file is dynamic in some way (e.g. contains user-specific directories). To add more data, see WithFixtureTemplateData.
()
| 258 | // way (e.g. contains user-specific directories). To add more data, see |
| 259 | // WithFixtureTemplateData. |
| 260 | func WithFixtureTemplating() TestOption { |
| 261 | return &fixtureTemplatingTestOption{} |
| 262 | } |
| 263 | |
| 264 | type fixtureTemplatingTestOption struct{} |
| 265 |
no outgoing calls
no test coverage detected
searching dependent graphs…