Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 7 additions & 13 deletions mixins/Editing.spec.ts → editing.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ import {
webUrl,
} from 'fast-check';

import { LitElement } from 'lit';

import { customElement } from 'lit/decorators.js';

import {
Edit,
Insert,
Expand All @@ -30,8 +26,11 @@ import {
newOpenEvent,
Remove,
Update,
} from '../foundation.js';
import { Editing } from './Editing.js';
} from './foundation.js';

import './open-scd.js';

import type { OpenSCD } from './open-scd.js';

export namespace util {
export const xmlAttributeName =
Expand Down Expand Up @@ -183,19 +182,14 @@ export namespace util {
)
);
}

@customElement('editing-element')
export class EditingElement extends Editing(LitElement) {}
}

describe('Editing Element', () => {
let editor: util.EditingElement;
let editor: OpenSCD;
let sclDoc: XMLDocument;

beforeEach(async () => {
editor = <util.EditingElement>(
await fixture(html`<editing-element></editing-element>`)
);
editor = <OpenSCD>await fixture(html`<open-scd></open-scd>`);
sclDoc = new DOMParser().parseFromString(
util.sclDocString,
'application/xml'
Expand Down
214 changes: 0 additions & 214 deletions mixins/Editing.ts

This file was deleted.

71 changes: 0 additions & 71 deletions mixins/Plugging.ts

This file was deleted.

Loading