Skip to content

Commit aac7f21

Browse files
committed
fix: strengthen execute_script title assertion to verify exact value
1 parent 196862b commit aac7f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/tools.test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('tools', () => {
5454

5555
it('executes script and returns a string result', async () => {
5656
const result = await client.callTool('execute_script', { script: 'return document.title;' });
57-
assert.ok(getResponseText(result).length > 0);
57+
assert.equal(getResponseText(result), 'Interaction Test Page');
5858
});
5959

6060
it('executes script and returns a numeric result', async () => {

0 commit comments

Comments
 (0)