mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-02-18 16:47:48 +01:00
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>
10 lines
298 B
TypeScript
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);
|
|
});
|
|
});
|