it('works with $attr when used before ...$attrs on the same element', function () {
      const ElWithAttrs = CustomElement.define({
        name: 'el-with-attrs',
        template: '<el ...item ...$attrs>',
        capture: true,