Polymer / tools

Polymer Tools Monorepo
BSD 3-Clause "New" or "Revised" License
430 stars 200 forks source link

test suite freeze when html incorrect #2957

Open pironim opened 9 years ago

pironim commented 9 years ago

I have a component like this:

<polymer-element name="something-here">
  <template>
    <template if="{{status}}">
      <span>Hi</span>
    <template>
  </template>
  <script>
    Polymer({
      status: false,
    });
  </script>
</polymer-element>

and when I run test suite, even empty, tests just freeze for a ling time. I think everything waiting for some event and it not appear because inner template tag does not closed.

is there any way to adjust waiting time or get descriptive error message

I also test it with broken outer template like this:

<polymer-element name="some-el">
    <template>
    <template>
  <script>
    Polymer({});
  </script>        
</polymer-element>

and tests just freeze.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.