{"size": 943, "ext": "js", "max_stars_repo_path": "packages/furo-data/test/furo-filter-or.test.js", "max_stars_repo_name": "MarcOmlin/FuroBaseComponents", "max_stars_repo_stars_event_min_datetime": "2021-07-08T09:45:34.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-24T16:09:56.000Z", "max_issues_repo_path": "packages/furo-data/test/furo-filter-or.test.js", "max_issues_repo_name": "maltenorstroem/FuroBaseComponents", "max_issues_repo_issues_event_min_datetime": "2021-07-08T10:49:55.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-17T10:44:21.000Z", "max_forks_repo_path": "packages/furo-data/test/furo-filter-or.test.js", "max_forks_repo_name": "maltenorstroem/FuroBaseComponents", "max_forks_repo_forks_event_min_datetime": "2019-11-14T08:01:51.000Z", "max_forks_repo_forks_event_max_datetime": "2021-06-10T13:23:26.000Z"}
{"max_stars_count": 12, "max_issues_count": 23, "max_forks_count": 3, "avg_line_length": 28.5757575758, "max_line_length": 83, "alphanum_fraction": 0.6489925769}
import { fixture, html } from '@open-wc/testing';
import 'axe-core/axe.min.js';
import '../src/furo-catalog.js';
import '@furo/fbp/src/testhelper/test-bind.js'; // for testing with wires and hooks
// eslint-disable-next-line import/no-extraneous-dependencies
import '@furo/testhelper/initEnv.js';

describe('furo-filter-or', () => {
  let element;
  let host;

  beforeEach(async () => {
    const testbind = await fixture(html`
      <test-bind>
        <template>
          <furo-filter-or></furo-filter-or>
        </template>
      </test-bind>
    `);
    await testbind.updateComplete;
    host = testbind._host;
    [, element] = testbind.parentNode.children;
    await host.updateComplete;
    await element.updateComplete;
  });

  it('should be a furo-filter-or', done => {
    // keep this test on top, so you can recognize a wrong asignment
    assert.equal(element.nodeName.toLowerCase(), 'furo-filter-or');
    done();
  });
});
