test(extensions): move channel contracts out of core

This commit is contained in:
Peter Steinberger
2026-04-20 17:59:33 +01:00
parent 1f139c198a
commit ca2d89bc4d
34 changed files with 625 additions and 726 deletions

View File

@@ -19,7 +19,6 @@ export function createChannelContractTestShards() {
"checks-fast-contracts-channels-registry-b": [],
"checks-fast-contracts-channels-core-a": [],
"checks-fast-contracts-channels-core-b": [],
"checks-fast-contracts-channels-extensions": [],
};
const pushBalanced = (firstKey, secondKey, file) => {
const target = groups[firstKey].length <= groups[secondKey].length ? firstKey : secondKey;
@@ -28,9 +27,7 @@ export function createChannelContractTestShards() {
for (const file of listContractTestFiles(rootDir)) {
const name = relative(rootDir, file).replaceAll("\\", "/");
if (name.startsWith("plugins-core-extension.")) {
groups["checks-fast-contracts-channels-extensions"].push(file);
} else if (name.startsWith("plugins-core.") || name.startsWith("plugin.")) {
if (name.startsWith("plugins-core.") || name.startsWith("plugin.")) {
pushBalanced(
"checks-fast-contracts-channels-core-a",
"checks-fast-contracts-channels-core-b",