Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (! report.tags.find(current => equal(current, serialisedTag))) {
report.tags.push(serialisedTag);
.soThat((actualValue, expectedValue) => !! ~ actualValue.findIndex(av => equal(av, expectedValue)));
}
.soThat((actual, expected) => equal(actual, expected));
}