Skip to content

Commit 639b6a1

Browse files
author
Dennis Labordus
committed
Refactor loading NSDoc File through Custom Event. And added some integration tests.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent 7c6e281 commit 639b6a1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Setting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Dialog } from '@material/mwc-dialog';
1212
import { Select } from '@material/mwc-select';
1313
import { Switch } from '@material/mwc-switch';
1414

15-
import {ifImplemented, LitElementConstructor, Mixin, newLogEvent, OpenDocEvent} from './foundation.js';
15+
import { ifImplemented, LitElementConstructor, Mixin, newLogEvent } from './foundation.js';
1616
import { Language, languages, loader } from './translations/loader.js';
1717

1818
import './WizardDivider.js';

test/integration/Setting.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { html, fixture, expect } from '@open-wc/testing';
22

33
import '../../src/open-scd.js';
4+
45
import { OpenSCD } from '../../src/open-scd.js';
56
import { newLoadNsdocEvent } from "../../src/Setting.js";
67

0 commit comments

Comments
 (0)