Skip to main content
Glama
GoogleScholarSearcher.test.ts1.37 kB
/** * GoogleScholarSearcher Platform Tests */ import { describe, it, expect, beforeEach } from '@jest/globals'; import { GoogleScholarSearcher } from '../../src/platforms/GoogleScholarSearcher.js'; describe('GoogleScholarSearcher', () => { let searcher: GoogleScholarSearcher; beforeEach(() => { searcher = new GoogleScholarSearcher(); }); describe('getCapabilities', () => { it('should return correct capabilities', () => { const caps = searcher.getCapabilities(); expect(caps.search).toBe(true); expect(caps.download).toBe(false); expect(caps.citations).toBe(true); expect(caps.requiresApiKey).toBe(false); }); }); describe('search options', () => { it('should support yearLow filter', () => { expect(searcher.search).toBeDefined(); }); it('should support yearHigh filter', () => { expect(searcher.search).toBeDefined(); }); it('should support author filter', () => { expect(searcher.search).toBeDefined(); }); }); describe('Academic paper priority', () => { it('should prioritize academic papers over books', () => { // Smart filtering feature expect(searcher).toBeDefined(); }); }); describe('Anti-detection', () => { it('should have smart request patterns', () => { expect(searcher).toBeDefined(); }); }); });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dianel555/paper-search-mcp-nodejs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server