mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
12 lines
291 B
TypeScript
12 lines
291 B
TypeScript
import test from 'ava';
|
|
|
|
import { Renderers } from '../mails';
|
|
|
|
test('should render emails', async t => {
|
|
for (const render of Object.values(Renderers)) {
|
|
// @ts-expect-error use [PreviewProps]
|
|
const content = await render();
|
|
t.snapshot(content.html, content.subject);
|
|
}
|
|
});
|