Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ test('Skills fixture uses only closed authored selection and awaited shutdown',
);
assert.match(
source,
/await \(deepAgentsSubagentsFixture \?\? deepAgentsSkillsFixture \?\?/
/if \((?:\w+Fixture \|\| )*deepAgentsSkillsFixture(?: \|\| \w+Fixture)*\)/
);
assert.match(
source,
/await \((?:\w+Fixture \?\? )*deepAgentsSkillsFixture(?: \?\? \w+Fixture)*\)\.close\(\)/
);
});
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ test('closed native Subagents selection', () => {
import { readFileSync } from 'node:fs';
test('native fixture participates in awaited serve shutdown', () => {
const source = readFileSync(new URL('./serve.mjs', import.meta.url), 'utf8');
assert.match(source, /if \(deepAgentsSubagentsFixture \|\|/);
assert.match(source, /await \(deepAgentsSubagentsFixture \?\?/);
assert.match(source, /if \((?:\w+Fixture \|\| )*deepAgentsSubagentsFixture(?: \|\| \w+Fixture)*\)/);
assert.match(source, /await \((?:\w+Fixture \?\? )*deepAgentsSubagentsFixture(?: \?\? \w+Fixture)*\)\.close\(\)/);
});
Loading