You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
treeForAddonTestSupport(tree){// intentionally not calling _super here// so that can have our `import`'s be// import { click, fillIn } from 'ember-native-dom-helpers';constFunnel=require('broccoli-funnel');letnamespacedTree=newFunnel(tree,{srcDir: '/',destDir: `/${this.moduleName()}`,annotation: `Addon#treeForTestSupport (${this.name})`,});returnthis.preprocessJs(namespacedTree,'/',this.name,{registry: this.registry,});}
The benefit here is that this will now put the code in test-support.js instead of vendor.js. This allows building prod for deployment including tests (for testing against a live site for example).
The text was updated successfully, but these errors were encountered:
This is what we do in ember-native-dom-helpers:
The benefit here is that this will now put the code in
test-support.js
instead ofvendor.js
. This allows building prod for deployment including tests (for testing against a live site for example).The text was updated successfully, but these errors were encountered: