Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AngularJS 1.2.5 and the latest MidwayTester do not work: Can not instantiate ngMidwayTester instance #12

Open
khanh-h-nguyen opened this issue Feb 12, 2014 · 0 comments

Comments

@khanh-h-nguyen
Copy link

I am using AngularJS 1.2.5 and the latest MidwayTester and got an error. Basically, it can NOT instantiate a MidwayTester instance.

minErr/<@C:/a_Work/NK/vendor/angularjs/angular.js:78
loadModules/<@C:/a_Work/NK/vendor/angularjs/angular.js:3624
forEach@C:/a_Work/NK/vendor/angularjs/angular.js:300
loadModules@C:/a_Work/NK/vendor/angularjs/angular.js:3589
createInjector@C:/a_Work/NK/vendor/angularjs/angular.js:3529
bootstrap/doBootstrap@C:/a_Work/NK/vendor/angularjs/angular.js:1294
bootstrap@C:/a_Work/NK/vendor/angularjs/angular.js:1309
ngMidwayTester@C:/a_Work/NK/vendor/ngMidwayTester/src/ngMidwayTester.js:78
@C:/a_Work/NK/test/midway/midway.spec.js:6

And here is the line 6 in midway.spec.js: tester = ngMidwayTester(appName);
Line 78 of ngMidwayTester is: var $injector = angular.bootstrap($rootElement, ['ng','ngMidway',moduleName]);

And line 78 of angular.js is : return new Error(message);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant