Move faker plugin from external to bundled

This commit is contained in:
Gregory Schier
2026-02-09 08:43:49 -08:00
parent 5f18bf25e2
commit 957d8d9d46
7 changed files with 46 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
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(226);
});
});