Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Unit test runs in PhantomJS but in chrome throws error RangeError: Maximum call stack size exceeded #148

@karthikv-26

Description

@karthikv-26

Using module('templates'); in unit test case throws the below error for below chrome version.
Chrome 60.0.3112 (Windows 7 0.0.0)
RangeError: Maximum call stack size exceeded
at Object.invoke (bower_components/angular/angular.js:4718:19)
at bower_components/angular/angular.js:4526:62
at forEach (bower_components/angular/angular.js:321:20)
at Object.createInjector [as injector] (bower_components/angular/angular.js:4526:3)
at Object.WorkFn (bower_components/angular-mocks/angular-mocks.js:3120:52)

Same works in Phantom JS browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions