webpack/assets/javascripts/foreman_compute_resource.js
Function testConnection
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function testConnection(item) {
let crId = $('form').data('id');
if (crId === undefined || crId === null) {
crId = '';