Skip to main content
Glama
failing.test.ts492 B
import { describe, it, expect } from 'vitest'; describe('Failing Tests', () => { it('should pass - basic assertion', () => { expect(1 + 1).toBe(2); }); it('should fail - intentional failure', () => { expect(2 + 2).toBe(5); // This will fail intentionally }); it('should fail - another intentional failure', () => { expect('hello').toBe('world'); // This will also fail }); it('should pass - string comparison', () => { expect('test').toBe('test'); }); });

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/djankies/vitest-mcp'

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