Skip to content

Tests running twice #9

@gregeinfrank

Description

@gregeinfrank

Hey thanks for the tutorial/demo!

I'm having an issue (I'm using grunt-karma) where when I open up the debug.html file, it's inserting this script tag:

<script type="text/javascript">
  window.__karma__.loaded();
</script>

but since I'm now calling window.karma.start when require finishes, the tests are running twice (first time before require loads, and the second time correctly). What should I do to prevent the double start()?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions