(fake: Record<string, PropertyValue>)
| 343 | } |
| 344 | |
| 345 | export function fakeProps(fake: Record<string, PropertyValue>): PropFunc { |
| 346 | const fn: PropFunc = (prop, def) => (fake[prop] === undefined ? def : fake[prop]); |
| 347 | fn._sourceData = fake; |
| 348 | return fn; |
| 349 | } |
| 350 | |
| 351 | export function getRawProperties() { |
| 352 | return properties; |
no outgoing calls
no test coverage detected