Skip to content

Commit 6a93b73

Browse files
committed
refactor: adopt oscd-test-utils
1 parent 228c546 commit 6a93b73

File tree

5 files changed

+32
-436
lines changed

5 files changed

+32
-436
lines changed

XMLEditor.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ import { expect } from "@open-wc/testing";
44
import { assert, property } from "fast-check";
55

66
import {
7-
sclDocString,
87
testDocs,
98
UndoRedoTestCase,
109
undoRedoTestCases,
11-
} from "./testHelpers.js";
10+
} from "@omicronenergy/oscd-test-utils/arbitraries.js";
11+
12+
import { sclDocString } from "@omicronenergy/oscd-test-utils/scl-sample-docs.js";
1213

1314
import { Commit, EditV2, Transactor } from "@omicronenergy/oscd-api";
1415

handleEdit.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ import {
55
insert,
66
isValidInsert,
77
remove,
8-
sclDocString,
98
setAttributes,
109
setTextContent,
1110
testDocs,
1211
UndoRedoTestCase,
1312
undoRedoTestCases,
1413
xmlAttributeName,
15-
} from "./testHelpers.js";
14+
} from "@omicronenergy/oscd-test-utils/arbitraries.js";
15+
16+
import { sclDocString } from "@omicronenergy/oscd-test-utils/scl-sample-docs.js";
1617

1718
import { EditV2, Insert } from "@omicronenergy/oscd-api";
1819
import { isEditV2 } from "@omicronenergy/oscd-api/utils.js";

0 commit comments

Comments
 (0)