From 31988a6ff930c9e2666e2646f61a047e7f2f7615 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Wed, 6 Jun 2018 13:38:12 -0700 Subject: [PATCH] Revert "test(ivy): add testing for namespaced attributes (#23899)" This reverts commit e994b11105e3a2dcd02eb3432a53a44f50991fb8. --- packages/core/test/render3/instructions_spec.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/packages/core/test/render3/instructions_spec.ts b/packages/core/test/render3/instructions_spec.ts index 9aeade3a2f..32aa8fe6fc 100644 --- a/packages/core/test/render3/instructions_spec.ts +++ b/packages/core/test/render3/instructions_spec.ts @@ -521,22 +521,6 @@ describe('instructions', () => { '
'; expect([standardHTML, ieHTML]).toContain(t.html); - - const div = t.hostElement.querySelector('#container'); - expect(div !.attributes.length).toBe(5); - - const expectedAttributes: {[key: string]: string} = { - 'id': 'container', - 'http://www.example.com/2014/test:title': 'abc', - 'style': 'background: #dead11', - 'http://www.example.com/2014/test:whatever': 'wee', - 'http://www.whatever.com/2016/blah:shazbot': 'wocka wocka', - }; - - Array.from(div !.attributes).forEach(attr => { - const key = attr.namespaceURI ? attr.namespaceURI + ':' + attr.name : attr.name; - expect(attr.value).toEqual(expectedAttributes[key]); - }); }); }); });