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
This commit is contained in:
George Kalpakas 2020-11-04 20:45:31 +02:00 committed by Misko Hevery
parent 290ea57a93
commit 5540fc718a
1 changed files with 1 additions and 1 deletions

View File

@ -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.