JS Unit testing run multiple times with different parameters
<p>Is their any way to have multiple parameters in one test instead of copying and pasting the function again?</p>

<p>Example in NUnit for C#:</p>

<pre><code>[TestCase("0", 1)]
[TestCase("1", 1)]
[TestCase("2", 1)]
public void UnitTestName(string input, int expected)
{
    //Arrange

    //Act

    //Assert
}
</code></pre>

<p>What I want in Js:</p>

<pre><code>describe("&lt;Foo /&gt;", () =&gt; {

    [TestCase("false")]
    [TestCase("true")]
    it("option: enableRemoveControls renders remove controls", (enableRemoveControls) =&gt;  {
        mockFoo.enableRemoveControls = enableRemoveControls;

        //Assert that the option has rendered or not rendered the html
    });
});
</code></pre>