Move faker plugin back to external (plugins-external/faker)

This commit is contained in:
Gregory Schier
2026-02-11 10:21:55 -08:00
parent 9a1d613034
commit 26aba6034f
8 changed files with 31 additions and 31 deletions

View File

@@ -0,0 +1,12 @@
import { describe, expect, it } from 'vitest';
describe('template-function-faker', () => {
it('exports all expected template functions', async () => {
const { plugin } = await import('../src/index');
const names = plugin.templateFunctions?.map((fn) => fn.name).sort() ?? [];
// Snapshot the full list of exported function names so we catch any
// accidental additions, removals, or renames across faker upgrades.
expect(names).toMatchSnapshot();
});
});