Skip to content

Commit

Permalink
fix erratic test in astUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
ganimomer committed Oct 14, 2016
1 parent a841c24 commit d1788c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/util/astUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ describe('astUtil', () => {
describe('isMemberExpOf', () => {
it('should return true if the expression is a memberExpression of an object', done => {
traverse('a.b.c.d')
.first('MemberExpression', node => {
.first('MemberExpression:exit', node => {
assert(astUtil.isMemberExpOf(node, 'a'))
done()
})
Expand Down

0 comments on commit d1788c1

Please sign in to comment.