1.0.0 • Published 8 years ago
ember-maybe-import-regenerator-for-testing v1.0.0
ember-maybe-import-regenerator-for-testing
This is an addon that'll import the
Regenerator
Runtime for usage in your Ember apps tests, but only if you didn't already set
babel.includePolyfill to true or have ember-maybe-import-regenerator (a
sister package that ensures regenerator runtime is present in the main
vendor.js for usage throughout the application). This is useful for apps that
want to use async / await (or ES6 generator functions) but don't want to
ship the regenerator runtime in production.
Installation
git clone <repository-url>this repositorycd my-addonnpm install
Running
ember serve- Visit your app at http://localhost:4200.
Running Tests
npm test(Runsember try:eachto test your addon against multiple Ember versions)ember testember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.
1.0.0
8 years ago