Skip to content
New issue

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

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

Already on GitHub? # to your account

TypeError: fixtures/Literal/fixture.js: Cannot read property 'key' of undefined #3

Closed
sanemat opened this issue May 1, 2015 · 3 comments

Comments

@sanemat
Copy link

sanemat commented May 1, 2015

Hi,

22 tests fail on master head.

$ npm test

> babel-plugin-espower@0.2.2 test /Users/sane/work/js-study/babel-plugin-espower
> mocha
(snip)
 1 passing (678ms)
  22 failing

  1) babel-plugin-espower Literal:
     TypeError: fixtures/Literal/fixture.js: Cannot read property 'key' of undefined
      at traverseUp (lib/babel-estree-path.js:6:33)
      at traverseUp (lib/babel-estree-path.js:18:9)
      at traverseUp (lib/babel-estree-path.js:18:9)
      at traverseUp (lib/babel-estree-path.js:18:9)
      at estreePath (lib/babel-estree-path.js:24:5)
      at enterTraversalPath (lib/create-espower-visitor.js:33:24)
      at TraversalPath.handlers.(anonymous function).enter (lib/create-espower-visitor.js:84:17)
      at Context.<anonymous> (test/test.js:13:28)

  2) babel-plugin-espower Identifier:
     TypeError: fixtures/Identifier/fixture.js: Cannot read property 'key' of undefined
      at traverseUp (lib/babel-estree-path.js:6:33)
      at traverseUp (lib/babel-estree-path.js:18:9)
      at traverseUp (lib/babel-estree-path.js:18:9)
      at traverseUp (lib/babel-estree-path.js:18:9)
      at estreePath (lib/babel-estree-path.js:24:5)
      at enterTraversalPath (lib/create-espower-visitor.js:33:24)
      at TraversalPath.handlers.(anonymous function).enter (lib/create-espower-visitor.js:84:17)
      at Context.<anonymous> (test/test.js:13:28)

(snip)

My environments.

$ node --version
v0.12.2
xtend@4.0.0
espurify@1.2.0
mocha@2.2.4
espower@0.11.0
babel-core@5.2.5
@twada
Copy link
Member

twada commented May 1, 2015

@sanemat Thanks! I'll fix it.

@twada twada closed this as completed in 1769858 May 1, 2015
@twada
Copy link
Member

twada commented May 1, 2015

Just released v0.3.0. Thank you for reporting!

@sanemat
Copy link
Author

sanemat commented May 1, 2015

@twada Great! 😍

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

No branches or pull requests

2 participants