Skip to content

Commit a427780

Browse files
fixuo
1 parent 10955e8 commit a427780

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

editors/dataset/data-set-editor.spec.ts

+8
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import { sendMouse } from '@web/test-runner-commands';
66

77
import { SinonSpy, spy } from 'sinon';
88

9+
import { SclTextField } from '@openenergytools/scl-text-field';
10+
import { MdIconButton } from '@scopedelement/material-web/iconbutton/MdIconButton.js';
11+
import { MdIcon } from '@scopedelement/material-web/icon/MdIcon.js';
12+
913
import {
1014
isInsert,
1115
isRemove,
@@ -15,6 +19,10 @@ import { dataSetDoc } from './data-set-editor.testfiles.js';
1519

1620
import './data-set-editor.js';
1721

22+
window.customElements.define('scl-text-field', SclTextField);
23+
window.customElements.define('md-icon-button', MdIconButton);
24+
window.customElements.define('md-icon', MdIcon);
25+
1826
const doc = new DOMParser().parseFromString(dataSetDoc, 'application/xml');
1927

2028
describe('DataSet editor component', () => {

0 commit comments

Comments
 (0)