<p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/bonfire-search-and-replace" rel="nofollow">Bonfire: Search and Replace</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">The default code uses a "myReplace" function name, however the assertions by default run against a "replace" function name. Thus either the default assertions or the default boilerplate code must be altered to run against the correct default function name.</p>
<p dir="auto">My code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function myReplace(str, before, after) {
 return str;
}

myReplace(&quot;A quick brown fox jumped over the lazy dog&quot;, &quot;jumped&quot;, &quot;leaped&quot;);
"><pre class="notranslate"><code class="notranslate">function myReplace(str, before, after) {
 return str;
}

myReplace("A quick brown fox jumped over the lazy dog", "jumped", "leaped");

</code></pre></div>
<p dir="auto">I noticed that a couple weeks ago, someone raised an issue about the function being called replace, and the issue was dealt with and renamed to myReplace. It seems the tests are still running on the old-named function replace and aren't accounting for the myReplace function.</p>
<p dir="auto">The issue can be circumvented by simply renaming the function to replace, but it might not be obvious right away to some campers. It would be best to modify the tests to reflect the new name change.</p>