Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit adf5687

Browse files
committed
test(ngValue): skip test on Edge
1 parent b72527e commit adf5687

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/ng/directive/inputSpec.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -4236,10 +4236,14 @@ describe('input', function() {
42364236
});
42374237

42384238
expect(inputElm[0].value).toBe('');
4239-
// Support: IE 9-11
4239+
// Support: IE 9-11, Edge
42404240
// In IE it is not possible to remove the `value` attribute from an input element.
4241-
if (!msie) {
4241+
if (!msie && !isEdge) {
42424242
expect(inputElm[0].getAttribute('value')).toBeNull();
4243+
} else {
4244+
// Support: IE 9-11, Edge
4245+
// This will fail if the Edge bug gets fixed
4246+
expect(inputElm[0].getAttribute('value')).toBe('something');
42434247
}
42444248
});
42454249

0 commit comments

Comments
 (0)