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

fix tests for angular 1.3.0 #14

Open
amoldavsky opened this issue Jan 29, 2017 · 0 comments
Open

fix tests for angular 1.3.0 #14

amoldavsky opened this issue Jan 29, 2017 · 0 comments

Comments

@amoldavsky
Copy link
Owner

all tests are failing for angular 1.3.0, need to figure out why...

gulp test-with-angular-1.3.0

  ground test
    ✓ test angularjs structure
    ✓ test init

  test internals
    ✗ test original data matcher
	Error: [ng:areq] Argument 'fn' is not a function, got undefined
	http://errors.angularjs.org/1.3.0/ng/areq?p0=fn&p1=not%20a%20function%2C%20got%20undefined
	    at test/angular-1.3.0/angular.js:80:12
	    at assertArg (test/angular-1.3.0/angular.js:1610:11)
	    at assertArgFn (test/angular-1.3.0/angular.js:1620:3)
	    at annotate (test/angular-1.3.0/angular.js:3451:5)
	    at Object.invoke (test/angular-1.3.0/angular.js:4130:21)
	    at Constructor.origProvider.$get (test/angular-1.3.0/angular.js:4039:31)
	    at Object.invoke (test/angular-1.3.0/angular.js:4152:17)
	    at test/angular-1.3.0/angular.js:3970:37
	    at getService (test/angular-1.3.0/angular.js:4111:39)
	    at Object.invoke (test/angular-1.3.0/angular.js:4143:13)
	Error: Declaration Location
	    at window.inject.angular.mock.inject (test/angular-1.3.0/angular-mocks.js:2226:25)
	    at Context.<anonymous> (test/angular-mocks-async-internal-tests.js:109:13)

  ✗ "after each" hook for "test original data matcher"
	TypeError: Cannot set property 'length' of undefined
	    at Context.<anonymous> (test/angular-1.3.0/angular-mocks.js:2066:47)


Chrome 55.0.2883 (Linux 0.0.0): Executed 4 of 16 (2 FAILED) (0.033 secs / 0.022 secs)
TOTAL: 2 FAILED, 2 SUCCESS


1) test original data matcher
     test internals
     Error: [ng:areq] Argument 'fn' is not a function, got undefined
http://errors.angularjs.org/1.3.0/ng/areq?p0=fn&p1=not%20a%20function%2C%20got%20undefined
    at test/angular-1.3.0/angular.js:80:12
    at assertArg (test/angular-1.3.0/angular.js:1610:11)
    at assertArgFn (test/angular-1.3.0/angular.js:1620:3)
    at annotate (test/angular-1.3.0/angular.js:3451:5)
    at Object.invoke (test/angular-1.3.0/angular.js:4130:21)
    at Constructor.origProvider.$get (test/angular-1.3.0/angular.js:4039:31)
    at Object.invoke (test/angular-1.3.0/angular.js:4152:17)
    at test/angular-1.3.0/angular.js:3970:37
    at getService (test/angular-1.3.0/angular.js:4111:39)
    at Object.invoke (test/angular-1.3.0/angular.js:4143:13)
Error: Declaration Location
    at window.inject.angular.mock.inject (test/angular-1.3.0/angular-mocks.js:2226:25)
    at Context.<anonymous> (test/angular-mocks-async-internal-tests.js:109:13)

2) "after each" hook for "test original data matcher"
     
     TypeError: Cannot set property 'length' of undefined
    at Context.<anonymous> (test/angular-1.3.0/angular-mocks.js:2066:47)



events.js:160
      throw er; // Unhandled 'error' event
      ^
Error: Failed Unit Tests!
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