UNPKG

vibe-uppercase

Version:
16 lines 620 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const { vibeUppercase } = require('../dist/index'); describe('vibeUppercase', () => { it('should convert a string to uppercase', async () => { const apiKey = process.env.GEMINI_API_KEY; if (!apiKey) { throw new Error('GEMINI_API_KEY environment variable is not set.'); } const text = 'hello world'; const expected = 'HELLO WORLD'; const result = await vibeUppercase(apiKey, text); expect(result).toBe(expected); }); }); //# sourceMappingURL=vibe-uppercase.test.js.map