Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Qunit Issues with Ember 2.10 and Qunit 3.01 #172

Closed
ellamenneram opened this issue Mar 8, 2017 · 2 comments
Closed

Qunit Issues with Ember 2.10 and Qunit 3.01 #172

ellamenneram opened this issue Mar 8, 2017 · 2 comments

Comments

@ellamenneram
Copy link

Ember global 2.10
Ember cli 2.10
Ember ajax 2.4.1
ember engine 0.4.0 beta
Embet Qunit 3.0.1 We also use Sinon

All the Qunit (Unit) tests which were working in Ember 2.6 failed in Ember 2.10.

For ex when we are trying to unit test

import {moduleFor , test} from 'ember-qunit';
moduleFor(' service',test name' {
})

test('name ', function(){
line x : let service=this.subject();
})

Original source is a simple service written by extending Ember.extend service .

The same test was running before but failed in line x with the upgrade. It throws error saying
"promise rejected before "test method". Attempting to register unknown factory.

From vendor map , cannot read property subject of undefined.

@trentmwillis
Copy link
Member

Can you please provide a minimal reproduction of your error? Either using ember-twiddle or a separate github repo would be best, thanks!

@trentmwillis
Copy link
Member

This seems to have gone stale, so I'm going to close. If you can provide further information, feel free to reopen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants