Skip to content

fix tests for angular 1.3.0 #14

@amoldavsky

Description

@amoldavsky

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!

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