Comments (4)
That fixes it for me, thanks! Let me know when it's released.
from ember-esri-loader.
As we discussed this is due to the require()
statements that ember-cli-coverage injects into tests/index.html.
I think we can solve this by adding 'tests/index.html'
to the files
array in index.js. I did some quick tests locally using the dummy app, and that seemed to work, but I did not try specifically using ember-cli-coverage. If this is still something you need to solve, would you mind trying that in your app (i.e. npm link
to this addon)?
from ember-esri-loader.
I can give that a try. Though I didn't see the tests/index.html
in that file you linked to. Would it be like the 5th entry below?
files: [
new RegExp(path.parse(outputPaths.app.js).name + '(.*js)'),
new RegExp(path.parse(outputPaths.vendor.js).name + '(.*js)'),
new RegExp(path.parse(outputPaths.tests.js).name + '(.*js)'),
new RegExp(path.parse(outputPaths.testSupport.js.testSupport).name + '(.*js)'),
new RegExp('tests/index.html') // added this line
],
from ember-esri-loader.
Yeah,
You don't even need to make it a regEx. I tested w/
files: [
new RegExp(path.parse(outputPaths.app.js).name + '(.*js)'),
new RegExp(path.parse(outputPaths.vendor.js).name + '(.*js)'),
new RegExp(path.parse(outputPaths.tests.js).name + '(.*js)'),
new RegExp(path.parse(outputPaths.testSupport.js.testSupport).name + '(.*js)'),
'tests/index.html' // this should work too
],
from ember-esri-loader.
Related Issues (20)
- Breaks in Ember 3.25 (and perhaps earlier) apps
- Incompatible with ember-auto-import 2.x HOT 1
- use headless chrome instead of FF in CI HOT 1
- production builds of 2.14.2 apps do not work at all HOT 1
- Write node tests for index.js HOT 1
- An app's production build breaks if source maps are enabled. HOT 5
- Production builds of apps that use this addon fail due to integrity check errors HOT 1
- Add examples section to README
- Should probably understand what's been going on over at ember-cli-amd and see if it applies here? HOT 2
- Error when using this with ember-bootstrap
- Don't equireray nls files
- Old Ember and Esri-loader versions HOT 7
- Ember-cli 3.5 breaks this addon HOT 9
- Update esri-loader dependency version notation HOT 6
- Use dependabot to keep esri-loader version in sync HOT 4
- get ember-try working again
- Unknown issue following 3.0.0 update HOT 2
- add automated tests for regex
- efineday is not a function error when using w/ ember-cli-stencil in production builds HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-esri-loader.