File tree Expand file tree Collapse file tree
__testfixtures__/ember-qunit-codemod Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { moduleFor , test } from 'ember-qunit' ;
2+
3+ moduleFor ( 'service:flash' , 'Unit | Service | Flash' , {
4+ unit : true
5+ } ) ;
6+
7+ test ( 'should allow messages to be queued' , function ( assert ) {
8+ let subject = this . subject ( ) ;
9+ } ) ;
10+
11+ moduleFor ( 'model:foo' , 'Unit | Model | Foo' , {
12+ unit : true
13+ } ) ;
14+
15+ test ( 'should allow messages to be queued' , function ( assert ) {
16+ let subject = this . subject ( ) ;
17+ } ) ;
Original file line number Diff line number Diff line change 1+ import { module , test } from 'qunit' ;
2+ import { setupTest } from 'ember-qunit' ;
3+
4+ module ( 'Unit | Service | Flash' , function ( hooks ) {
5+ setupTest ( hooks ) ;
6+
7+ test ( 'should allow messages to be queued' , function ( assert ) {
8+ let subject = this . owner . lookup ( 'service:flash' ) ;
9+ } ) ;
10+ } ) ;
11+
12+ module ( 'Unit | Model | Foo' , function ( hooks ) {
13+ setupTest ( hooks ) ;
14+
15+ test ( 'should allow messages to be queued' , function ( assert ) {
16+ let subject = this . owner . factoryFor ( 'model:foo' ) . create ( ) ;
17+ } ) ;
18+ } ) ;
You can’t perform that action at this time.
0 commit comments