(list: {
plugins: Array<{ name: string; marketplace: string; enabled: boolean }>;
})
| 309 | }); |
| 310 | |
| 311 | function getPlugin(list: { |
| 312 | plugins: Array<{ name: string; marketplace: string; enabled: boolean }>; |
| 313 | }) { |
| 314 | const plugins = list.plugins.filter( |
| 315 | (plugin) => plugin.name === PLUGIN_NAME && plugin.marketplace === MARKETPLACE_NAME |
| 316 | ); |
| 317 | expect(plugins).toHaveLength(1); |
| 318 | return plugins[0]; |
| 319 | } |
| 320 | }); |
no outgoing calls
no test coverage detected
searching dependent graphs…