( endpoints: string[], configuredEndpoints: string[], )
| 66 | }); |
| 67 | |
| 68 | const excludeConfiguredEndpoints = ( |
| 69 | endpoints: string[], |
| 70 | configuredEndpoints: string[], |
| 71 | ) => { |
| 72 | const configured = new Set(configuredEndpoints); |
| 73 | return endpoints.filter(endpoint => !configured.has(endpoint)); |
| 74 | }; |
| 75 | |
| 76 | assertWeb(); |
| 77 |