Skip to content

Commit 69b8636

Browse files
authored
Merge pull request #245 from com-pas/244-disable-dublicate-tests-compas-openscd
fix: disable dublicate tests compas openscd
2 parents 2d4ca1c + d5d2181 commit 69b8636

File tree

13 files changed

+46
-13
lines changed

13 files changed

+46
-13
lines changed

public/js/plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ export const officialPlugins = [
329329
},
330330
{
331331
name: 'Autogen Substation',
332-
src: '/src/editors/substation/autogen-substation/autogen-substation.js',
332+
src: '/src/compas-editors/autogen-substation.js',
333333
icon: 'playlist_add_circle',
334334
default: true,
335335
kind: 'menu',
File renamed without changes.

src/editors/substation/autogen-substation/autogen-substation.ts renamed to src/compas-editors/autogen-substation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { LitElement, property } from 'lit-element';
2-
import { createElement, newActionEvent } from '../../../foundation.js';
2+
import { createElement, newActionEvent } from '../foundation.js';
33

44
let cbNum = 1;
55
let dsNum = 1;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { expect, fixture, html } from '@open-wc/testing';
22

3-
import '../../../../unit/mock-editor.js';
4-
import { MockEditor } from '../../../../unit/mock-editor.js';
5-
import '../../../../../src/editors/substation/autogen-substation/autogen-substation.js';
6-
import CompasAutogenerateSubstation from '../../../../../src/editors/substation/autogen-substation/autogen-substation.js';
3+
import '../../unit/mock-editor.js';
4+
import { MockEditor } from '../../unit/mock-editor.js';
5+
import '../../../src/compas-editors/autogen-substation.js';
6+
import CompasAutogenerateSubstation from '../../../src/compas-editors/autogen-substation.js';
77

88
describe('autogen-substation-integration', () => {
99
if (customElements.get('') === undefined)

test/unit/editors/Sitipe.test.ts renamed to test/unit/compas-editors/Sitipe.test.ts

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

3-
import Sitipe from '../../../src/editors/Sitipe.js';
3+
import Sitipe from '../../../src/compas-editors/Sitipe.js';
44

55
describe('Sitipe plugin', () => {
66
customElements.define('sitipe-plugin', Sitipe);
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* @web/test-runner snapshot v1 */
2+
export const snapshots = {};
3+
4+
snapshots["Sitipe plugin No doc loaded Should look like latest snapshot"] =
5+
`<div class="container">
6+
<h1>
7+
<span style="color: var(--base1)">
8+
[substation.missing]
9+
</span>
10+
</h1>
11+
</div>
12+
`;
13+
/* end snapshot Sitipe plugin No doc loaded Should look like latest snapshot */
14+
15+
snapshots["Sitipe plugin With Doc loaded Should look like latest snapshot"] =
16+
`<div class="container">
17+
<section>
18+
<sitipe-substation>
19+
</sitipe-substation>
20+
</section>
21+
</div>
22+
`;
23+
/* end snapshot Sitipe plugin With Doc loaded Should look like latest snapshot */
24+

0 commit comments

Comments
 (0)