The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test: cover grouped and spaced TinyChannels provider imports
Steven Enamakel37418ca7762c
diff --git a/scripts/__tests__/check-test-ownership.test.mjs b/scripts/__tests__/check-test-ownership.test.mjsindex 8d1dbd5f4d..26b9d219f0 100644--- a/scripts/__tests__/check-test-ownership.test.mjs+++ b/scripts/__tests__/check-test-ownership.test.mjs@@ -19,6 +19,34 @@ test('rejects tests that call TinyChannels provider internals', () => {]);});+test('rejects grouped imports of TinyChannels provider internals', () => {+ const source = `+ use tinychannels::{providers::email_channel::parse};+ `;++ assert.deepEqual(findOwnershipViolations(source, 'tests/email.rs'), [+ {+ line: 2,+ path: 'tinychannels::providers::',+ reason: 'TinyChannels provider behavior belongs in TinyChannels.',+ },+ ]);+});++test('rejects TinyChannels provider imports with whitespace around path separators', () => {+ const source = `+ use tinychannels :: providers :: email_channel :: parse;+ `;++ assert.deepEqual(findOwnershipViolations(source, 'tests/email.rs'), [+ {+ line: 2,+ path: 'tinychannels::providers::',+ reason: 'TinyChannels provider behavior belongs in TinyChannels.',+ },+ ]);+});+test('allows public facades and bus contracts', () => {const source = `use tinychannels::ChannelInboundEnvelope;