From 5540fc718ab2b9924f4ee8397229d439c5bab6d0 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Wed, 4 Nov 2020 20:45:31 +0200 Subject: [PATCH] test(elements): fix typo in test description (`even if when` --> `even if`) (#39452) This commit fixes a typo in a test description. PR Close #39452 --- packages/elements/test/create-custom-element_spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/elements/test/create-custom-element_spec.ts b/packages/elements/test/create-custom-element_spec.ts index e4a3e0713d..45491db51b 100644 --- a/packages/elements/test/create-custom-element_spec.ts +++ b/packages/elements/test/create-custom-element_spec.ts @@ -68,7 +68,7 @@ if (browserDetection.supportsCustomElements) { expect(strategy.getInputValue('barBar')).toBe('value-barbar'); }); - it('should work even if when the constructor is not called (due to polyfill)', () => { + it('should work even if the constructor is not called (due to polyfill)', () => { // Some polyfills (e.g. `document-register-element`) do not call the constructor of custom // elements. Currently, all the constructor does is initialize the `injector` property. This // test simulates not having called the constructor by "unsetting" the property.