(metadataKey: string)
| 170 | } |
| 171 | |
| 172 | function renderMetadataHook(metadataKey: string) { |
| 173 | const manager = new MetadataManager(metadataKey); |
| 174 | const hook = makeUseEmbeddedMetadata(manager); |
| 175 | |
| 176 | return { |
| 177 | ...renderHook(hook), |
| 178 | manager, |
| 179 | }; |
| 180 | } |
| 181 | |
| 182 | // Just to be on the safe side, probably want to make sure that each test case |
| 183 | // is set up with a unique key |
no test coverage detected