@@ -55,9 +55,11 @@ test('workspace seed patches an old Playwright one-liner and adds the browser sk
|
||||
].join('\n'));
|
||||
const seeded = ensureAgentWorkspace({ name: 'Jarvis' });
|
||||
assert.equal(seeded, dir);
|
||||
assert.match(readFileSync(path.join(dir, 'AGENTS.md'), 'utf8'), /skills\/browser\/SKILL.md/);
|
||||
assert.match(readFileSync(path.join(dir, 'TOOLS.md'), 'utf8'), /headed Playwright Chromium window/);
|
||||
assert.match(readFileSync(path.join(dir, 'AGENTS.md'), 'utf8'), /only web tool is `browser`/);
|
||||
assert.match(readFileSync(path.join(dir, 'TOOLS.md'), 'utf8'), /are removed/);
|
||||
assert.doesNotMatch(readFileSync(path.join(dir, 'AGENTS.md'), 'utf8'), /web_search` \/ `google_search/);
|
||||
assert.equal(existsSync(path.join(dir, 'skills/browser/SKILL.md')), true);
|
||||
assert.match(readFileSync(path.join(dir, 'skills/browser/SKILL.md'), 'utf8'), /only way to the public web/);
|
||||
});
|
||||
|
||||
test('cleanup', () => {
|
||||
|
||||
Reference in New Issue
Block a user