kylemellander / ember-test-with-data

Consistent ember acceptance and integration tests with data attributes.
MIT License
15 stars 2 forks source link

Support ember LTS 2.4.x and node older versions #9

Closed kashiif closed 7 years ago

kashiif commented 7 years ago

I was trying to use the addon in an app with ember-cli v 2.4.x and node 0.12.x. There were a couple of simple issues:

1) NodeJS does not support short function declaration (functionName()). This means ember fails to execute index.js on addon install.

2) For ember-cli >= 2.6.0-beta.3, app.options.configPath returns absolute path while older ember-cli versions return path relative to project root.