blob: e45932d8c8aa34a260ec0b0dd335ca2ffddcb7a9 [file] [log] [blame]
Adrià Vilanova Martínezf19ea432024-01-23 20:20:52 +01001// Copyright 2019 The Chromium Authors
Copybara854996b2021-09-07 19:36:02 +00002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5import {assert} from 'chai';
6import {ChopsChart} from './chops-chart.js';
7
8
9let element;
10
11describe('chops-chart', () => {
12 beforeEach(() => {
13 element = document.createElement('chops-chart');
14 document.body.appendChild(element);
15 });
16
17 afterEach(() => {
18 document.body.removeChild(element);
19 });
20
21 it('initializes', () => {
22 assert.instanceOf(element, ChopsChart);
23 });
24});