Comments (8)
@Turbo87 - IMHO, it seems fine to support only 2.0 and higher, however we could also just include the polyfill for 1.x support
from ember-qunit-assert-helpers.
for reference "the polyfill" is https://github.com/rwjblue/ember-debug-handlers-polyfill
from ember-qunit-assert-helpers.
We chatted on Slack. I'm closing this in favor of adding a note to the readme about ember-debug-handlers-polyfill
.
from ember-qunit-assert-helpers.
no, I'm closing this! 😁
from ember-qunit-assert-helpers.
Hehe. I hit "Comment and close" and it said you had already closed, and no joke I said "Jinx" out loud. 😂
from ember-qunit-assert-helpers.
Unfortunately this seems to still be an issue independent from using the polyfill or not
not ok 1 Chrome 62.0 - Global error: Uncaught TypeError: _ember.default.Debug.registerWarnHandler is not a function at http://localhost:7357/assets/test-support.js, line 7468
---
Log: |
{ type: 'error',
text: 'Uncaught TypeError: _ember.default.Debug.registerWarnHandler is not a function at http://localhost:7357/assets/test-support.js, line 7468\n' }
...
not ok 2 Chrome 62.0 - global failure
---
actual: >
null
stack: >
http://localhost:7357/assets/test-support.js:7468
message: >
Uncaught TypeError: _ember.default.Debug.registerWarnHandler is not a function
Log: |
...
It appears that the polyfill correctly works for the registerDeprecationHandler()
function, but apparently registerWarnHandler()
is still missing.
This surfaced in emberjs/ember-map-polyfill#9
/cc @rwjblue
from ember-qunit-assert-helpers.
I'm open to options here. I don't mind making the addon more durable ... but it could also yield in unexpected behavior for users on 2.0.
@rwjblue would you consider adding registerWarnHandler
to ember-debug-handlers-polyfill? I'd happily submit the PR myself.
from ember-qunit-assert-helpers.
Ya, it should have registerWarnHandlers
for sure. I'm surprised I forgot it 😢
from ember-qunit-assert-helpers.
Related Issues (8)
- expectAssertion string match HOT 3
- Incompatibile with RFC 232 HOT 9
- Incompatible with Ember CLI 3.7.x HOT 5
- FEAT: expectNoDeprecation should filter out expected deprecations HOT 1
- Optionally suppress warnings and deprecations when expected. HOT 1
- Warnings and Deprecations that occur prior to test start result cause an exception HOT 1
- Detect production mode, and ensure expectAssertion/expectDeprecation works
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-qunit-assert-helpers.