Skip to content

eslint-disable-next-line comment breaks wrapper.classes method #1980

Open
@iliubinskii

Description

@iliubinskii

Subject of the issue

<template>
  <!-- eslint-disable-next-line vue/no-restricted-syntax -->
  <q-item class="item">
 </q-item>
</template>
  const wrapper = mount(Component);
  console.log(wrapper.classes());

Returns empty array.
Removing "eslint-disable-next-line" restores normal behavior

Steps to reproduce

If the above sample is not enough I'll add repro repo.

Expected behaviour

Comment should not break classes method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions