File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
src/file-upload-input/tests/unit Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 6060 "@dojo/cli-build-theme" : " ~7.0.0" ,
6161 "@dojo/cli-build-widget" : " 7.0.0" ,
6262 "@dojo/cli-test-intern" : " ~7.0.0" ,
63- "@dojo/framework" : " ~7.0.2 " ,
63+ "@dojo/framework" : " ~7.0.3 " ,
6464 "@dojo/parade" : " ~1.0.0" ,
6565 "@dojo/scripts" : " ^4.0.3" ,
6666 "@material/button" : " 3.0.0" ,
Original file line number Diff line number Diff line change @@ -216,10 +216,9 @@ describe('FileUploadInput', function() {
216216 assert ( preventDefaultSpy . called , 'dragenter handler should call event.preventDefault()' ) ;
217217 preventDefaultSpy . resetHistory ( ) ;
218218
219- // TODO: enable when https://github.com/dojo/framework/pull/840 is merged
220- // r.property(WrappedOverlay, 'ondragleave', stubEvent);
221- // r.expect(baseAssertion);
222- // assert(preventDefaultSpy.called, 'dragleave handler should call event.preventDefault()');
219+ r . property ( WrappedOverlay , 'ondragleave' , stubEvent ) ;
220+ r . expect ( baseAssertion ) ;
221+ assert ( preventDefaultSpy . called , 'dragleave handler should call event.preventDefault()' ) ;
223222 } ) ;
224223
225224 it ( 'handles file drop event' , function ( ) {
@@ -310,7 +309,6 @@ describe('FileUploadInput', function() {
310309 } ) ;
311310 r . expect ( baseAssertion . setProperty ( WrappedInput , 'multiple' , true ) ) ;
312311
313- // TODO: enable when https://github.com/dojo/framework/pull/840 is merged
314- // assert.sameOrderedMembers(onValue.firstCall.args[0], testValues);
312+ assert . sameOrderedMembers ( onValue . firstCall . args [ 0 ] , testValues ) ;
315313 } ) ;
316314} ) ;
You can’t perform that action at this time.
0 commit comments