fix(e2e): satisfy runtime smoke lint

This commit is contained in:
Peter Steinberger
2026-06-01 10:44:08 +01:00
parent dfa1c94c68
commit 5973b9ff4b

View File

@@ -241,7 +241,7 @@ export function activateSmokePlugin(config, pluginId, channels = []) {
const allow = Array.isArray(config.plugins?.allow)
? Array.from(new Set([...config.plugins.allow, pluginId].filter(isNonEmptyString)))
: undefined;
const channelConfig = { ...(config.channels ?? {}) };
const channelConfig = { ...config.channels };
for (const channel of channels) {
channelConfig[channel] = {
...(typeof channelConfig[channel] === "object" && channelConfig[channel] !== null