Files
yaak-mountain-loop/plugins/template-function-faker/tests/init.test.ts
Gregory Schier daaf7be080 Update metainfo screenshot and fix faker template function count
Update the metainfo screenshot URL to a real hosted image. Fix the
faker plugin test — the expected template function count changed from
226 to 227 after bundling the faker plugin.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 10:22:17 -08:00

10 lines
298 B
TypeScript

import { describe, expect, it } from 'vitest';
describe('formatDatetime', () => {
it('returns formatted current date', async () => {
// Ensure the plugin imports properly
const faker = await import('../src/index');
expect(faker.plugin.templateFunctions?.length).toBe(227);
});
});