<html>
    <head>
        <meta charset="utf-8">
        <link href="../../bower_components/mocha/mocha.css" rel="stylesheet" />
    </head>
    <body>
        <div id="mocha"></div>
        <!-- Test framework libraries. -->
        <script src="../../bower_components/mocha/mocha.js"></script>
        <script src="../../bower_components/chai/chai.js"></script>
        <script src="../../bower_components/chai-as-promised/lib/chai-as-promised.js"></script>
        <script src="../../bower_components/moment/min/moment.min.js"></script>
        <!-- Browserified workflow.min.js file. -->
        <script src="../../dist/workflow.min.js"></script>
        <!-- Mocha test setup. -->
        <script>
            mocha.setup('bdd');
            should = chai.should();
            expect = chai.expect;
        </script>
        <!-- Workflow unit tests. -->
        <script src="index.test.js"></script>
        <script>
            // Execute the mocha tests
            mocha.run();
        </script>
    </body>
</html>
<html>
    <head>
        <meta charset="utf-8">
        <link href="../../bower_components/mocha/mocha.css" rel="stylesheet" />
    </head>
    <body>
        <div id="mocha"></div>
        <!-- Test framework libraries. -->
        <script src="../../bower_components/mocha/mocha.js"></script>
        <script src="../../bower_components/chai/chai.js"></script>
        <script src="../../bower_components/chai-as-promised/lib/chai-as-promised.js"></script>
        <script src="../../bower_components/moment/min/moment.min.js"></script>
        <!-- Browserified workflow.min.js file. -->
        <script src="../../dist/workflow.min.js"></script>
        <!-- Mocha test setup. -->
        <script>
            mocha.setup('bdd');
            var should = chai.should();
            var expect = chai.expect;
        </script>
        <!-- Workflow unit tests. -->
        <script src="index.test.js"></script>
        <script>
            // Execute the mocha tests
            mocha.run();
        </script>
    </body>
</html>
Fix for - RangeError: Maximum call stack size exceeded.
Fix for - RangeError: Maximum call stack size exceeded.
