blob: bf05012114eea3520168c637ce54f0868fc2f23e [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001// Copyright 2019 The Chromium Authors. All rights reserved.
2// 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});