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
Copy file name to clipboardExpand all lines: packages/ember/tests/ember-test-helpers-test.js
-124Lines changed: 0 additions & 124 deletions
Original file line number
Diff line number
Diff line change
@@ -85,8 +85,6 @@ module('@ember/test-helpers emulation test', function () {
85
85
letoutletState={
86
86
render: {
87
87
owner,
88
-
into: undefined,
89
-
outlet: 'main',
90
88
name: 'application',
91
89
controller: undefined,
92
90
ViewClass: undefined,
@@ -97,8 +95,6 @@ module('@ember/test-helpers emulation test', function () {
97
95
main: {
98
96
render: {
99
97
owner,
100
-
into: undefined,
101
-
outlet: 'main',
102
98
name: 'index',
103
99
controller: context,
104
100
ViewClass: undefined,
@@ -138,124 +134,4 @@ module('@ember/test-helpers emulation test', function () {
138
134
});
139
135
});
140
136
});
141
-
142
-
module('v1.6.0',function(){
143
-
letEMPTY_TEMPLATE=compile('');
144
-
145
-
functionsettled(){
146
-
returnnewPromise(function(resolve){
147
-
letwatcher=setInterval(()=>{
148
-
if(_getCurrentRunLoop()||_hasScheduledTimers()){
149
-
return;
150
-
}
151
-
152
-
// Stop polling
153
-
clearInterval(watcher);
154
-
155
-
// Synchronously resolve the promise
156
-
run(null,resolve);
157
-
},10);
158
-
});
159
-
}
160
-
161
-
asyncfunctionsetupContext(context){
162
-
// condensed version of https://github.com/emberjs/ember-test-helpers/blob/v1.6.0/addon-test-support/%40ember/test-helpers/build-owner.ts#L38
0 commit comments