Skip to content

Commit

Permalink
(vxx/test)
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Feb 22, 2017
1 parent 66338f3 commit aaac21c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/vxx.e2e.mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ describe('Programmatically test interactor', function() {
packet.data['axm:transaction'].length.should.eql(1);
var data = packet.data['axm:transaction'][0].data;

if (Object.keys(data.routes).length != 3)
return callAgain();

// Should only find 3 different routes
Object.keys(data.routes).length.should.eql(3);
data.routes[0].should.have.properties(['meta', 'variances', 'path']);
Expand Down

0 comments on commit aaac21c

Please sign in to comment.