Skip to content

Commit 6db05be

Browse files
committed
Update to framework 7.0.3 and enable tests
1 parent d26de82 commit 6db05be

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
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",

src/file-upload-input/tests/unit/FileUploadInput.spec.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)